Merge branch 'mm/add-p-split-error'
commit331fe94fedb40851de29f0954026c705118102b3
authorJunio C Hamano <gitster@pobox.com>
Mon, 11 May 2015 21:23:47 +0000 (11 14:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 May 2015 21:23:47 +0000 (11 14:23 -0700)
treebc606370038901227d64785687e523bfcd1cf9c5
parent7e9829265397d956b3a090d2d84bbfcd0f260568
parent7e9e048661477ad17f57a7153eaaec490660e767
Merge branch 'mm/add-p-split-error'

When "add--interactive" splits a hunk into two overlapping hunks
and then let the user choose only one, it sometimes feeds an
incorrect patch text to "git apply".  Add tests to demonstrate
this.

I have a slight suspicion that this may be $gmane/87202 coming back
and biting us (I seem to have said "let's run with this and see
what happens" back then).

* mm/add-p-split-error:
  stash -p: demonstrate failure of split with mixed y/n
  t3904-stash-patch: factor PERL prereq at the top of the file
  t3904-stash-patch: fix test description
  add -p: demonstrate failure when running 'edit' after a split
  t3701-add-interactive: simplify code