Merge branch 'nd/dwim-wildcards-as-pathspecs' into next
commit8176de77ad163a0268e0214b60291561c9976637
authorJunio C Hamano <gitster@pobox.com>
Thu, 7 May 2015 20:21:04 +0000 (7 13:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 May 2015 20:21:04 +0000 (7 13:21 -0700)
tree97fc4ecf92973b67ae9201334f1fce83637cff2c
parent1c565129ea85ae7a5f88ffa1854350ed278a3cfa
parent28fcc0b71a6543fe50576efc1ac8fb4e4555b6a6
Merge branch 'nd/dwim-wildcards-as-pathspecs' into next

A heuristic to help the "git <cmd> <revs> <pathspec>" command line
convention to catch mistyped paths is to make sure all the non-rev
parameters in the later part of the command line are names of the
files in the working tree, but that means "git grep $str -- \*.c"
must always be disambiguated with "--", because nobody sane will
create a file whose name literally is asterisk-dot-see.  Loosen the
heuristic to declare that with a wildcard string the user likely
meant to give us a pathspec.

* nd/dwim-wildcards-as-pathspecs:
  pathspec: avoid the need of "--" when wildcard is used
setup.c