summaryrefslogtreecommitdiff
path: root/exec_cmd.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-04-19 22:37:19 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2007-04-19 22:37:44 -0700
commit163b95919428cd7d782af91296e0b886683f2daa (patch)
tree7f11f2139d89e006edb4d4c806da3ec7ffd9554b /exec_cmd.h
parentDocumentation: support manual section (5) - file formats. (diff)
downloadtgif-163b95919428cd7d782af91296e0b886683f2daa.tar.xz
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 'exec_cmd.h')
0 files changed, 0 insertions, 0 deletions