Splitting a hunk that adds a line at the top fails in "add -p"
authorMatt Graham <mdg149@gmail.com>
Sat, 16 May 2009 03:10:19 +0000 (23:10 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 May 2009 01:52:03 +0000 (18:52 -0700)
commitf67182bf65b01290a9544e9599ea8255e657e567
tree5fef6e40b0d888a1050690d2207ef5559d4fa88f
parent4774780ab196ff4ace780445c06c8e5bfffffc49
Splitting a hunk that adds a line at the top fails in "add -p"

Splitting a hunk into two in add -p doesn't work for a diff that adds a
new line at the top of the file with other add in the same hunk.

Signed-off-by: Matthew Graham <mdg149@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3701-add-interactive.sh