summaryrefslogtreecommitdiff
path: root/t/t4100/t-apply-2.expect
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-01-21 20:00:49 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-21 16:57:38 -0800
commit0b0ecaac2ad984599923999d6d4c32e6111bb73f (patch)
treec562068adb24c8321271e48dd94fb45685a7d5c6 /t/t4100/t-apply-2.expect
parentUpdate :/abc ambiguity check (diff)
downloadtgif-0b0ecaac2ad984599923999d6d4c32e6111bb73f.tar.xz
grep: avoid accepting ambiguous revision
Unlike other commands that take both revs and pathspecs without "--" disamiguators only when the boundary is clear, "git grep" treated what can be interpreted as a rev as-is, without making sure that it could also have meant a pathspec. E.g. $ git grep -e foo master when 'master' is in the working tree, should have triggered an ambiguity error, but it didn't, and searched in the tree of the commit named by 'master'. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100/t-apply-2.expect')
0 files changed, 0 insertions, 0 deletions