Merge branch 'jk/add-p-commentchar-fix'
commit54e6ce5960689026f1ea97db493dc8cd0a7f8e1e
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Jun 2017 21:09:31 +0000 (26 14:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jun 2017 21:09:31 +0000 (26 14:09 -0700)
tree504f97bb1425d2f9ff1603be45130487a6355c44
parente25a76721ccc6049ec720e86707ec368574e8a71
parentd85d7ecb80ebc93f7380b4196c303756ee051668
Merge branch 'jk/add-p-commentchar-fix'

"git add -p" were updated in 2.12 timeframe to cope with custom
core.commentchar but the implementation was buggy and a
metacharacter like $ and * did not work.

* jk/add-p-commentchar-fix:
  add--interactive: quote commentChar regex
  add--interactive: handle EOF in prompt_yesno
git-add--interactive.perl
t/t3701-add-interactive.sh