1
0
mirror of https://github.com/git/git.git synced 2025-04-04 21:28:40 +00:00
git/builtin
Nguyễn Thái Ngọc Duy 0b0ecaac2a 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>
2013-01-21 16:57:38 -08:00
..
2013-01-10 13:47:25 -08:00
2013-01-20 17:06:53 -08:00
2012-09-17 15:59:34 -07:00
2012-10-25 06:42:27 -04:00
2012-11-20 10:32:10 -08:00
2012-09-27 17:57:26 -07:00
2013-01-20 17:06:53 -08:00
2013-01-10 13:47:25 -08:00
2012-09-11 11:36:05 -07:00
2012-12-26 14:46:15 -08:00
2012-10-25 06:42:27 -04:00
2012-09-14 11:53:53 -07:00
2012-11-26 13:27:45 -08:00
2012-10-29 03:08:30 -04:00
2012-11-29 12:52:30 -08:00
2013-01-20 17:06:53 -08:00
2012-10-25 06:42:27 -04:00