diff options
author | Junio C Hamano <junkio@cox.net> | 2007-04-19 22:37:19 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-19 22:37:44 -0700 |
commit | 163b95919428cd7d782af91296e0b886683f2daa (patch) | |
tree | 7f11f2139d89e006edb4d4c806da3ec7ffd9554b /builtin-reflog.c | |
parent | 4392da4d5d7585a9defa6869517cb354f7460f35 (diff) | |
download | git-163b95919428cd7d782af91296e0b886683f2daa.tar.gz |
Update 'crlf' attribute semantics.
This updates the semantics of 'crlf' so that .gitattributes file
can say "this is text, even though it may look funny".
Setting the `crlf` attribute on a path is meant to mark the path
as a "text" file. 'core.autocrlf' conversion takes place
without guessing the content type by inspection.
Unsetting the `crlf` attribute on a path is meant to mark the
path as a "binary" file. The path never goes through line
endings conversion upon checkin/checkout.
Unspecified `crlf` attribute tells git to apply the
`core.autocrlf` conversion when the file content looks like
text.
Setting the `crlf` attribut to string value "input" is similar
to setting the attribute to `true`, but also forces git to act
as if `core.autocrlf` is set to `input` for the path.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-reflog.c')
0 files changed, 0 insertions, 0 deletions