Open kabiblueline opened 12 years ago
git help diff
says
For a more complete list of ways to spell
, see "SPECIFYING REVISIONS" section in git-rev-parse(1). However, "diff" is about comparing two endpoints, not ranges, and the range notations (" .. " and " ... ") do not mean a range as defined in the "SPECIFYING RANGES" section in git-rev-parse(1).
Unfortunately it doesn't seem to specify exactly what the range notations do mean. I'll have to have a look through the git-diff source...
From the git-rev-parse page under "Specifying Ranges", I should be able to use: r1^!
to specify the same range as r1^...r1
this works for git diff, but git meld fails with the following errors:
fatal: Not a valid object name tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors cd $(git rev-parse --show-toplevel) && git archive 302431cb^! "file1" "file2" | tar -x -C "/tmp/git-meld.ehuKeC/302431cb^!" failed with exit code 512 at /home/kabiblueline/Git/wmanley-git-meld-b6224ce/git-meld.pl line 27.