doc add: renormalize is not idempotent for CRCRLF
commitefae7ce6921d3ff9b3c6951d0da3efc9518027fc
authorPhilip Oakley <philipoakley@iee.email>
Wed, 10 Aug 2022 14:44:50 +0000 (10 15:44 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Aug 2022 18:26:38 +0000 (10 11:26 -0700)
tree281db6f03cee01f4a71459e61203e2819f1b92bc
parentdc8c8deaa6b5847733bd7df011a4c7b7d1a64e0a
doc add: renormalize is not idempotent for CRCRLF

Bug report
 https://lore.kernel.org/git/AM0PR02MB56357CC96B702244F3271014E8DC9@AM0PR02MB5635.eurprd02.prod.outlook.com/
noted that a file containing /r/r/n needed renormalising twice.

This is by design. Lone CR characters, not paired with an LF, are left
unchanged. Note this limitation of the "clean" filter in the documentation.

Renormalize was introduced at 9472935d81e (add: introduce "--renormalize",
Torsten Bögershausen, 2017-11-16)

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Reviewed-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt