git-xl icon indicating copy to clipboard operation
git-xl copied to clipboard

Add git show capability

Open shumashv1 opened this issue 6 years ago • 2 comments

Git diff only works in a branch prior to a commit. Could the diff be accessed in some way to show the changes after the commit using git show? Perhaps the diff could be automatically added to the commit message?

shumashv1 avatar Oct 15 '18 14:10 shumashv1

You're right, git-xltrail currently doesn't play with diff show. However, using something like git diff HEAD~1 should work as a workaround for now?

fzumstein avatar Nov 07 '18 17:11 fzumstein

That works. How about adding something simple like this?

#show.py Import os os.system(‘git diff HEAD~1')

Ugly, I know. ShumashGeely

From: Felix Zumstein Sent: Wednesday, November 7, 2018 10:13 AM To: ZoomerAnalytics/git-xltrail Cc: shumashv1; Author Subject: Re: [ZoomerAnalytics/git-xltrail] Add git show capability (#29)

You're right, git-xltrail currently doesn't play with diff show. However, using something like git diff HEAD~1 should work as a workaround for now? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

shumashv1 avatar Nov 08 '18 19:11 shumashv1