This website requires JavaScript.
Explore
Help
Sign in
development
/
git
Watch
1
Star
0
Fork
You've already forked git
0
mirror of
https://github.com/git/git
synced
2024-11-05 18:59:29 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
e84d5e9fa1
git
/
t
/
t4100
/
t-apply-9.expect
3 lines
80 B
Text
Raw
Normal View
History
Unescape
Escape
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-04 19:10:14 +00:00
t/t4100-apply-stat.sh | 2 +-
Use correct grammar in diffstat summary line "git diff --stat" and "git apply --stat" now learn to print the line "%d files changed, %d insertions(+), %d deletions(-)" in singular form whenever applicable. "0 insertions" and "0 deletions" are also omitted unless they are both zero. This matches how versions of "diffstat" that are not prehistoric produced their output, and also makes this line translatable. [jc: with help from Thomas Dickey in archaeology of "diffstat"] [jc: squashed Jonathan's updates to illustrations in tutorials and a test] Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-01 12:55:07 +00:00
1 file changed, 1 insertion(+), 1 deletion(-)
Reference in a new issue
Copy permalink