This repository has been archived by the owner. It is now read-only.

add text=input option for gitattributes #164

Closed
ctaggart opened this Issue Feb 11, 2014 · 1 comment

Comments

Projects
None yet
2 participants

Please let me know if this feature request should be discussed elsewhere first. I would like a text=input feature added that has the same behavior as text=auto, except that it defaults to core.autocrlf=input behavior instead of core.autocrlf=true. This would ensure that the repository is normalized and the text files in the working directory match what is in the repository by default. This difference in behavior is highlighted in green:

image

This feature would greatly benefit source indexing using my SourceLink project ctaggart/SourceLink#20. I mistakenly reported this as a bug to libgit2 as text=auto should only change workdir files when core.autocrl=true, but was directed here. I tested with git version 1.8.5.2.msysgit.0.

Owner

kusma commented Feb 11, 2014

This isn't a windows-specific request, so please take it upstream.

@kusma kusma closed this Feb 11, 2014

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.