View a git diff-tree in a reasonable format

Posted by Josh on Stack Overflow See other posts from Stack Overflow or by Josh
Published on 2010-05-11T22:17:23Z Indexed on 2010/05/11 22:34 UTC
Read the original article Hit count: 323

Filed under:
|

Howdy,

I'm about to do a git svn dcommit to our svn repo -- and as is recommended in a number of places, I wanted to figure out exactly what I was going to be committing with a dry run. As such I ran:

git svn dcommit -n

This produced output:

Committing to http://somerepo/svn/branches/somebranch
diff-tree 1b937dacb302908602caedf1798171fb1b7afc81~1 1b937dacb302908602caedf1798171fb1b7afc81

How do I view this in a format that I can consume as a human? A list of modified files comes to mind. This is probably easy, but running git diff-tree on those hashes gives me a reference to a directory and a some other hashes, as well as some numbers. Not quite sure what to make of it.

Thanks very much, Josh

© Stack Overflow or respective owner

Related posts about git

Related posts about git-svn