ce6abbae5caf03789caf38e24bdb79c275095005 galt Mon Mar 8 16:21:28 2010 -0800 shorthand git is simpler diff --git git-reports.c git-reports.c index c132775..d12c8f5 100644 --- git-reports.c +++ git-reports.c @@ -302,9 +302,11 @@ * a diff with everything we want, we just have to split it up. */ { safef(gitCmd,sizeof(gitCmd), - "git diff -b -w --no-prefix%s %s^ %s > %s" + "git diff -b -w --no-prefix%s %s^! > %s" , full ? " --unified=10000" : "" - , c->commitId, c->commitId, tempMakeDiffName); + , c->commitId, tempMakeDiffName); +//git shorthand: x^! is equiv to range x^ x, +// i.e. just the one commit and nothing more. runShell(gitCmd);