summaryrefslogtreecommitdiff
path: root/git-mergetool--lib.sh
diff options
context:
space:
mode:
authorLibravatar Will Palmer <wmpalmer@gmail.com>2016-01-09 19:22:29 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-11 10:44:13 -0800
commit06b6b68ff943de9e5c2f537807c054cd536731d1 (patch)
tree465dcced931a8d4f8a944e4e4855ecc38b6622ec /git-mergetool--lib.sh
parentGit 2.4 (diff)
downloadtgif-06b6b68ff943de9e5c2f537807c054cd536731d1.tar.xz
test for '!' handling in rev-parse's named commits
In anticipation of extending this behaviour, add tests verifying the handling of exclamation marks when looking up a commit "by name". Specifically, as documented: '<rev>^{/!Message}' should fail, as the '!' prefix is reserved; while '<rev>^{!!Message}' should search for a commit whose message contains the string "!Message". Signed-off-by: Will Palmer <wmpalmer@gmail.com> Signed-off-by: Stephen P. Smith <ischis2@cox.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-mergetool--lib.sh')
0 files changed, 0 insertions, 0 deletions