Thread (8 messages) flat view 8 messages, 5 authors, 2016-06-15

Re: [q] git-diff --reverse 7def2be1..7def2be1^

From: Andreas Ericsson <hidden>
Date: 2016-06-15 22:44:48

Ingo Molnar wrote:
* Jakub Narebski [off-list ref] wrote:
quoted
quoted
   But Git didnt recognize that as a valid commit range.
There is shortcut for rev^..rev, namely rev^! (I'm not sure if it is 
documented anywhere, though), so you could have used

        git diff 7def2be1^!
nice! :-)
And for just a single revision, you can do

	git show -R 7def2be1

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help