summaryrefslogtreecommitdiffstats
path: root/t/t3404-rebase-interactive.sh
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-06-14 15:17:51 +0200
committerJunio C Hamano <gitster@pobox.com>2013-06-14 18:41:03 +0200
commitbac1ddd0f86bc5955c24f89e402de80d2844efb5 (patch)
tree7e279003ab07e34fb9220a43d53455dbafd8d6b2 /t/t3404-rebase-interactive.sh
parentt/rebase: add failing tests for a peculiar revision (diff)
downloadgit-bac1ddd0f86bc5955c24f89e402de80d2844efb5.tar.xz
git-bac1ddd0f86bc5955c24f89e402de80d2844efb5.zip
sh-setup: add new peel_committish() helper
The normal way to check whether a certain revision resolves to a valid commit is: $ git rev-parse --verify $REV^0 Unfortunately, this does not work when $REV is of the type :/quuxery. Write a helper to work around this limitation. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3404-rebase-interactive.sh')
0 files changed, 0 insertions, 0 deletions