Merge branch 'jk/add-p-commentchar-fix' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Jul 2017 20:58:58 +0000 (13:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jul 2017 20:58:59 +0000 (13:58 -0700)
commitf904494574035f6ff2725b0e97951c55ccd9dee3
tree4ce9cb8c57fb75f437d1a557d2dc94cac4d9692b
parent040746c061c1138222d7db1f9ace292ef1a0935d
parentd85d7ecb80ebc93f7380b4196c303756ee051668
Merge branch 'jk/add-p-commentchar-fix' into maint

"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