aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-08-18 13:07:03 -0700
committerJunio C Hamano <gitster@pobox.com>2022-08-18 13:07:03 -0700
commit58ded4a4dca5585f771b905afe70e710a376396f (patch)
tree6c625ddd7cecdf3c56bf8de483e4de4bcf4726be
parentThe thirteenth batch (diff)
parentdoc add: renormalize is not idempotent for CRCRLF (diff)
downloadgit-58ded4a4dca5585f771b905afe70e710a376396f.tar.gz
git-58ded4a4dca5585f771b905afe70e710a376396f.zip
Merge branch 'po/doc-add-renormalize'
Documentation for "git add --renormalize" has been improved. * po/doc-add-renormalize: doc add: renormalize is not idempotent for CRCRLF
-rw-r--r--Documentation/git-add.txt4
1 files changed, 3 insertions, 1 deletions
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.
--chmod=(+|-)x::
Override the executable bit of the added files. The executable