Repository navigation
Use -text instead of -crlf - #475
Merged
Merged
Conversation
Contributor
Author
|
Apparently we can add macros. There's a builtin What if we did something like this? -*.gif filter=lfs diff=lfs merge=lfs -crlf
-*.png filter=lfs diff=lfs merge=lfs -crlf
+[attr]lfs filter=lfs diff=lfs merge=lfs -text
+*.gif lfs
+*.png lfsThough this will take some research to figure out what versions of Git support it. We're targeting Git 1.8.2, which has the EDIT: Depending on backwards compatibility issues, we may go with: |
Contributor
Author
|
I compiled a version of git from the v1.8.2 tag, and it worked fine. I don't want to use macros in Git LFS v0.5.3, but probably for v0.6.0 next month. |
|
Looks like crlf was renamed to text in 2010 - git/git@5ec3e67 That goes all the way back to git 1.7.2, so we're good just using text here methinks 😄 |
Contributor
Author
|
Cool. I'm merging this, but I hope to use a custom macro in the next major release (v0.6.0). |
technoweenie
added a commit
that referenced
this pull request
Jul 10, 2015
Use -text instead of -crlf
This was referenced Jul 22, 2015
Closed
technoweenie
added a commit
that referenced
this pull request
Jul 22, 2015
technoweenie
added a commit
that referenced
this pull request
Jul 22, 2015
Backport #475 for v0.5.x: Use -text instead of -crlf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixing #473