From: Lee Marlow Date: Mon, 28 Jul 2008 22:54:19 GMT Subject: Showing changes about to be commited via git svn dcommit Message-ID: <7968d7490807281554u3954cf51qe2cd87b94284c77f@mail.gmail.com> git-svners, I often like to look at the diff of what I'm about to commit before taking the plunge. I'd really like an easy way to see a 'git log -p' output of what would be committed to the central svn repository with a dcommit. I found --dry-run and finally made a "one-liner" that outputs what I want, but it seems like a lot of work for something I do quite often. The one-liner I used is: $> git svn dcommit --dry-run | grep -E '^diff-tree ' | cut -b 11- | git diff-tree --stdin -p -v Is this the real way to do it? Do others do something similar? Curious and looking for a better way. -Lee