This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
git
Watch
0
Star
0
Fork
0
You've already forked git
mirror of
https://github.com/git/git.git
synced
2024-11-23 18:05:29 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
git
/
t
/
t4100
/
t-apply-8.expect
3 lines
80 B
Plaintext
Raw
Permalink
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-05 03:10:14 +08: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 20:55:07 +08:00
1 file changed, 1 insertion(+), 1 deletion(-)
Reference in New Issue
Copy Permalink