Skip to content

Commit

Permalink
Merge branch 'mo/maint-crlf-doc'
Browse files Browse the repository at this point in the history
* mo/maint-crlf-doc:
  core.autocrlf documentation: mention the crlf attribute
  • Loading branch information
Junio C Hamano committed Nov 23, 2009
2 parents f328f35 + ff68668 commit 4075d27
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,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. A file is considered
"text" (i.e. be subjected to the autocrlf mechanism) based on
the file's `crlf` attribute, or if `crlf` is unspecified,
based on the file's contents. See linkgit:gitattributes[5].

core.safecrlf::
If true, makes git check if converting `CRLF` as controlled by
Expand Down

0 comments on commit 4075d27

Please sign in to comment.