Merge branch 'lf/setup-prefix-pathspec' into maint
commitfa0a6a48233d9dd1e72ef3fe13166871a18d7714
authorJunio C Hamano <gitster@pobox.com>
Wed, 3 Apr 2013 16:24:18 +0000 (3 09:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Apr 2013 16:24:19 +0000 (3 09:24 -0700)
treec2d4967f270aebb75533b1f300e050056754df9a
parent92e0d916326de103e463f9ffcfcd99ec1f3a9dc0
parentf612a67eac32d73d781503d39077371977d46eae
Merge branch 'lf/setup-prefix-pathspec' into maint

"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
setup.c