diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2012-09-20 04:33:50 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2012-09-20 04:34:40 +0200 |
commit | 1d9d403394750474c339dd1473119a0794361240 (patch) | |
tree | 6ae3693b1d78629b688c31ce95d9ce82f10e345d | |
parent | 293415dbcf8c621c8aecb4347abd32fd60935a8b (diff) | |
download | patch-1d9d403394750474c339dd1473119a0794361240.tar.gz |
Add a missing explanation in the tests/crlf-handling test case
* tests/crlf-handling: Add explanation.
-rw-r--r-- | tests/crlf-handling | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/crlf-handling b/tests/crlf-handling index 535f0cd..b86bf38 100644 --- a/tests/crlf-handling +++ b/tests/crlf-handling @@ -179,6 +179,10 @@ EOF # ============================================================== +# Line endings of @@ lines are not used for guessing if a patch needs CR +# stripping: if the -p / --show-c-function option of GNU diff is used, these +# lines can have different line endings than the rest of the patch. + echo 1 > a echo 2 > b diff -u a b | sed -e 's,@@$,@@ context\r,' > ab.diff |