| author | Linus Torvalds <torvalds@linux-foundation.org> | |
| Wed, 14 Feb 2007 02:16:12 +0000 (18:16 -0800) | ||
| committer | Junio C Hamano <junkio@cox.net> | |
| Wed, 14 Feb 2007 19:19:28 +0000 (11:19 -0800) | ||
| commit | d7f4633405acf3dc09798a759463c616c7c49dfd | |
| tree | 87ca32525975b0762c1bdad688b223cca48ebf4c | tree | snapshot |
| parent | 6c510bee2013022fbce52f4b0ec0cc593fc0cc48 | commit | diff |
Make AutoCRLF ternary variable.
This allows you to do:
[core]
AutoCRLF = input
and it should do only the CRLF->LF translation (ie it simplifies CRLF only
when reading working tree files, but when checking out files, it leaves
the LF alone, and doesn't turn it into a CRLF).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This allows you to do:
[core]
AutoCRLF = input
and it should do only the CRLF->LF translation (ie it simplifies CRLF only
when reading working tree files, but when checking out files, it leaves
the LF alone, and doesn't turn it into a CRLF).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
| config.c | diff | blob | history | |
| convert.c | diff | blob | history | |
| environment.c | diff | blob | history |