summaryrefslogtreecommitdiff
path: root/git-request-pull-script
diff options
context:
space:
mode:
authorFredrik Kuivinen <freku045@student.liu.se>2005-09-04 17:29:02 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-04 18:00:28 (GMT)
commit433ef8a2fb93627e311217b2a41b3132933e6b0b (patch)
tree9575a97e48350f63844a67dad36681b57f69fb0f /git-request-pull-script
parent07a95d0ed36dea806e32f23df309506be74915db (diff)
downloadgit-433ef8a2fb93627e311217b2a41b3132933e6b0b.zip
git-433ef8a2fb93627e311217b2a41b3132933e6b0b.tar.gz
git-433ef8a2fb93627e311217b2a41b3132933e6b0b.tar.bz2
[PATCH] Make git-apply understand incomplete lines in non-C locales
The message "\ No newline at end of file" used by diff(1) to mark an incomplete line is locale dependent. We can't assume more than that it begins with "\ ". For example, given two files, "foo" and "bar", with appropriate contents, 'diff -u foo bar' will produce the following output on my system: --- foo 2005-09-04 18:59:38.000000000 +0200 +++ bar 2005-09-04 18:59:16.000000000 +0200 @@ -1 +1 @@ -foobar +foo \ Ingen nyrad vid filslut [jc: the check for the marker still uses the line length being no less than 12 bytes for a sanity check, but I think it is safe to assume that in other locales. I haven't checked the .po files from diff, tho'.] Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-request-pull-script')
0 files changed, 0 insertions, 0 deletions