Thread (1 message) 1 message, 1 author, 2022-08-10

Re: [PATCH v2 1/1] doc add: renormalize is not idempotent for CRCRLF

From: Junio C Hamano <hidden>
Date: 2022-08-10 17:42:39

Philip Oakley [off-list ref] writes:
quoted hunk
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 11eb70f16c..9b37f35654 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -188,7 +188,9 @@ for "git add --no-all <pathspec>...", i.e. ignored removed files.
 	forcibly add them again to the index.  This is useful after
 	changing `core.autocrlf` configuration or the `text` attribute
 	in order to correct files added with wrong CRLF/LF line endings.
-	This option implies `-u`.
+	This option implies `-u`. Lone CR characters are untouched, thus
+	while a CRLF cleans to LF, a CRCRLF sequence is only partially
+	cleaned to CRLF.
Looks perfetly readable and understandable to me.

Thanks, will replace.  Let's plan to merge it down soonish.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help