* [PATCH] Updated the Documentation/config.txt core.autocrlf configuration setting documentation
@ 2008-07-28 11:48 Jurko Gospodnetić
0 siblings, 0 replies; only message in thread
From: Jurko Gospodnetić @ 2008-07-28 11:48 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
Hi all.
This is just a fix for something in the documentation that confused
me when playing around with git.
--- Comment: --------
Updated the Documentation/config.txt core.autocrlf configuration
setting documentation to note that this setting can be set at a
repository or file level by using the gitattributes configuration.
Signed-off-by: Jurko <jurko.gospodnetic@docte.hr>
---------------------
Diff is attached as a separate file.
Still have not figured out how to best send in patches (working on
Windows here) so this one is a manually sent mail and you will most
likely not be able to apply it automatically. :-(
I am also not sure whether there are perhaps any other documentation
copies that need to be updated for this. This was the only one I found
in the source tree.
Best regards,
Jurko Gospodnetić
[-- Attachment #2: config.txt.patch --]
[-- Type: text/plain, Size: 875 bytes --]
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 1a13abc..d9c1401 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -135,9 +135,10 @@ core.autocrlf::
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.
+ `LF` at the end of lines. Which paths to consider "text" (i.e. be subjected
+ to the autocrlf mechanism) will be decided based on the contents but this
+ can be overruled on a per-repository or per-file level by using
+ linkgit:gitattributes[5].
core.safecrlf::
If true, makes git check if converting `CRLF` as controlled by
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-28 11:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-28 11:48 [PATCH] Updated the Documentation/config.txt core.autocrlf configuration setting documentation Jurko Gospodnetić
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).