Yann Dirson [off-list ref] writes:
That said, this two-path construct would surely deserve its own
synopsis.
Something like this? Just kidding...
SYNOPSIS
--------
+[verse]
'git diff' [<common diff options>] <commit>{0,2} [--] [<path>...]
+'git diff' [<common diff options>] <tree-ish> <tree-ish> [--] [<path>...]
+'git diff' [<common diff options>] <blob-or-path> <blob-or-path>
Possibly that <tree-ish> can be also a <directory> (on filesystem).
You can e.g. use
git diff HEAD:git-gui/ 00e9de7^^
^^^^^^^^^^^^^ ~~~~~~~~~
\-- tree \-- commit (in subtree-merged history)
--
Jakub Narebski
Poland
ShadeHawk on #git