Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-04-24 | Add 'filter' attribute and external filter driver definition. | Junio C Hamano | 1 | -0/+9 | |
The interface is similar to the custom low-level merge drivers. First you configure your filter driver by defining 'filter.<name>.*' variables in the configuration. filter.<name>.clean filter command to run upon checkin filter.<name>.smudge filter command to run upon checkout Then you assign filter attribute to each path, whose name matches the custom filter driver's name. Example: (in .gitattributes) *.c filter=indent (in config) [filter "indent"] clean = indent smudge = cat Signed-off-by: Junio C Hamano <junkio@cox.net> | |||||
2007-04-24 | Add 'ident' conversion. | Junio C Hamano | 1 | -0/+39 | |
The 'ident' attribute set to path squashes "$ident:<any bytes except dollor sign>$" to "$ident$" upon checkin, and expands it to "$ident: <blob SHA-1> $" upon checkout. As we have two conversions that affect checkin/checkout paths, clarify how they interact with each other. Signed-off-by: Junio C Hamano <junkio@cox.net> |