On Thu, Oct 6, 2011 at 9:27 AM, Konstantin Khomoutov
<flatw...@users.sourceforge.net> wrote:
> The correct way instead is to do
> $ git log 7de0e15^..7de0e15 <myfile>
> that is, the set of changes between the (first) parent of 7de0e15 and
> 7de0e15.

Note: That causes an error if 7de0e15 is the root commit.  There'll be
no such commit as 7de0e15^.  (Yes, I've been bitten by that before.)


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to