]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'lf/setup-prefix-pathspec' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 3 Apr 2013 16:24:18 +0000 (09:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Apr 2013 16:24:19 +0000 (09:24 -0700)
"git cmd -- ':(top'" was not diagnosed as an invalid syntax, and
instead the parser kept reading beyond the end of the string.

* lf/setup-prefix-pathspec:
  setup.c: check that the pathspec magic ends with ")"
  setup.c: stop prefix_pathspec() from looping past the end of string

1  2 
setup.c

diff --cc setup.c
Simple merge