public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Frank Lichtenheld <frank@lichtenheld•de>
To: git@vger•kernel.org
Cc: Junio C Hamano <junkio@cox•net>,
	Frank Lichtenheld <frank@lichtenheld•de>
Subject: [PATCH 2/4] config.txt: Document core.autocrlf
Date: Fri, 13 Apr 2007 18:02:31 +0200	[thread overview]
Message-ID: <11764801532182-git-send-email-frank@lichtenheld.de> (raw)
In-Reply-To: <11764801533023-git-send-email-frank@lichtenheld.de>

Text shamelessly stolen from the 1.5.1 release notes.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld•de>
---
 Documentation/config.txt |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 061c585..09c355b 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -117,6 +117,16 @@ core.fileMode::
 	the working copy are ignored; useful on broken filesystems like FAT.
 	See gitlink:git-update-index[1]. True by default.
 
+core.autocrlf::
+	If true, makes git convert `CRLF` at the end of lines in text files to
+	`LF` when reading from the filesystem, and convert in reverse when
+	writing to the filesystem.  The variable can be set to
+	'input', in which case the conversion happens only while
+    	reading from the filesystem but files are written out with
+    	`LF` at the end of lines.  Currently, which paths to consider
+	"text" (i.e. be subjected to the autocrlf mechanism) is
+	decided purely based on the contents.
+
 core.symlinks::
 	If false, symbolic links are checked out as small plain files that
 	contain the link text. gitlink:git-update-index[1] and
-- 
1.5.1.1

  parent reply	other threads:[~2007-04-13 16:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-13 16:02 [PATCH 0/4] Random fixes to Documentation/config.txt Frank Lichtenheld
2007-04-13 16:02 ` [PATCH 1/4] config.txt: Document gitcvs.allbinary Frank Lichtenheld
2007-04-13 16:02 ` Frank Lichtenheld [this message]
2007-04-13 16:02 ` [PATCH 3/4] config.txt: Change pserver to server in description of gitcvs.* Frank Lichtenheld
2007-04-13 16:02 ` [PATCH 4/4] config.txt: Fix grammatical error in description of http.noEPSV Frank Lichtenheld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11764801532182-git-send-email-frank@lichtenheld.de \
    --to=frank@lichtenheld$(echo .)de \
    --cc=git@vger$(echo .)kernel.org \
    --cc=junkio@cox$(echo .)net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox