author | Junio C Hamano <junkio@cox.net> | |
Fri, 13 Apr 2007 05:30:05 +0000 (22:30 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 14 Apr 2007 15:57:06 +0000 (08:57 -0700) | ||
commit | 35ebfd6a0cd71795c4fa510b99e55ad89fb654f1 | |
tree | a9cc59a9fb5476b5fc80d1de577c6eb06b3c8ffe | tree | snapshot |
parent | d0bfd026a8241d544c339944976927b388d61a5e | commit | diff |
Define 'crlf' attribute.
This defines the semantics of 'crlf' attribute as an example.
When a path has this attribute unset (i.e. '!crlf'), autocrlf
line-end conversion is not applied.
Eventually we would want to let users to build a pipeline of
processing to munge blob data to filesystem format (and in the
other direction) based on combination of attributes, and at that
point the mechanism in convert_to_{git,working_tree}() that
looks at 'crlf' attribute needs to be enhanced. Perhaps the
existing 'crlf' would become the first step in the input chain,
and the last step in the output chain.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This defines the semantics of 'crlf' attribute as an example.
When a path has this attribute unset (i.e. '!crlf'), autocrlf
line-end conversion is not applied.
Eventually we would want to let users to build a pipeline of
processing to munge blob data to filesystem format (and in the
other direction) based on combination of attributes, and at that
point the mechanism in convert_to_{git,working_tree}() that
looks at 'crlf' attribute needs to be enhanced. Perhaps the
existing 'crlf' would become the first step in the input chain,
and the last step in the output chain.
Signed-off-by: Junio C Hamano <junkio@cox.net>
attr.c | diff | blob | history | |
convert.c | diff | blob | history | |
t/t0020-crlf.sh | diff | blob | history |