git/t/t4100
Thomas Rast 6cf91492d9 Fix apply --recount handling of no-EOL line
If a patch modifies the last line of a file that previously had no
terminating '\n', it looks like

    -old text
    \ No newline at end of file
    +new text

Hence, a '\' line does not signal the end of the hunk.  This modifies
'git apply --recount' to take this into account.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-07-05 00:37:44 -07:00
..
t-apply-1.expect [PATCH] git-apply: tests for --stat and --summary. 2005-06-22 10:23:49 -07:00
t-apply-1.patch Replace the word 'update-cache' by 'update-index' everywhere 2007-11-30 15:09:40 -08:00
t-apply-2.expect [PATCH] git-apply: tests for --stat and --summary. 2005-06-22 10:23:49 -07:00
t-apply-2.patch Replace the word 'update-cache' by 'update-index' everywhere 2007-11-30 15:09:40 -08:00
t-apply-3.expect [PATCH] git-apply: tests for --stat and --summary. 2005-06-22 10:23:49 -07:00
t-apply-3.patch [PATCH] git-apply: tests for --stat and --summary. 2005-06-22 10:23:49 -07:00
t-apply-4.expect [PATCH] git-apply: tests for --stat and --summary. 2005-06-22 10:23:49 -07:00
t-apply-4.patch [PATCH] git-apply: tests for --stat and --summary. 2005-06-22 10:23:49 -07:00
t-apply-5.expect [PATCH] git-apply: tests for --stat and --summary. 2005-06-22 10:23:49 -07:00
t-apply-5.patch Replace the word 'update-cache' by 'update-index' everywhere 2007-11-30 15:09:40 -08:00
t-apply-6.expect [PATCH] git-apply: tests for --stat and --summary. 2005-06-22 10:23:49 -07:00
t-apply-6.patch Replace the word 'update-cache' by 'update-index' everywhere 2007-11-30 15:09:40 -08:00
t-apply-7.expect [PATCH] git-apply: tests for --stat and --summary. 2005-06-22 10:23:49 -07:00
t-apply-7.patch [PATCH] git-apply: tests for --stat and --summary. 2005-06-22 10:23:49 -07:00
t-apply-8.expect Fix apply --recount handling of no-EOL line 2008-07-05 00:37:44 -07:00
t-apply-8.patch Fix apply --recount handling of no-EOL line 2008-07-05 00:37:44 -07:00
t-apply-9.expect Fix apply --recount handling of no-EOL line 2008-07-05 00:37:44 -07:00
t-apply-9.patch Fix apply --recount handling of no-EOL line 2008-07-05 00:37:44 -07:00