git-bigstore icon indicating copy to clipboard operation
git-bigstore copied to clipboard

bigstore filter not found in .gitattributes

Open michaelweinstein opened this issue 8 years ago • 1 comments

When I try to git bigstore push or git bigstore pull, I get the following error: No bigstore gitattributes filters found. Is .gitattributes set up correctly?

In the code it looks like this message is printed when the regex can't find any bigstore filter, but I'm not sure why it's having trouble. I've tried a few different permutations of .gitattributes, but currently it looks like: *.stl filter=bigstore, as outlined in the README. Is there anything I'm missing here to be able to use bigstore push/pull?

michaelweinstein avatar Nov 09 '17 17:11 michaelweinstein

I encountered this issue when my gitattributes file had windows-style line endings but I was executing my 'git bigstore pull' from a linux terminal. I fixed it by changing 'line' to 'line.rstrip()' here: https://github.com/lionheart/git-bigstore/blob/master/bigstore/bigstore.py#L180

mrpropellers avatar May 16 '19 16:05 mrpropellers