You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pointer file displayed on GitHub instead of actual file #1056
version https://git-lfs.github.com/spec/v1
oid sha256:e88c0b9c2cb607d5684467c9143e2ba4c96ea7979a2d14175d4dd1122da32bfc
size 4743512
@technoweenie: I have described our issue at https://github.com/contact but we got no solution so far and it's getting worse... There are now non-pushed git-lfs files in the master branch which makes it impossible to clone the repository. To avoid spreading the issue further, we are on hold awaiting a fix. Could you let me know what is the best thing for me to do now? Thank you!
Sorry, clearly I was too quick to take this private. I found the bug in a command that Git LFS uses to scan the repository history:
$ git rev-list --objects --do-walk spm_t_test
fatal: ambiguous argument 'spm_t_test': both revision and filename
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
I gave you a workaround in our support thread, which is basically just rename the branch and try again:
Until we find a workaround with the git rev-list command, you'll want to make sure your branch names don't coincide with filenames. I don't currently know enough about the command to say that we'll be able to work around it. But, we will make the command tell you why it's failing, so you're not left scratching your head for two weeks.
#1096 has a fix, but the quick version is that adding -- at the end of the argument list (with no paths) disambiguates spm_t_test as a ref instead of a path.
Thanks for the fix, @epriestley 🤘 I'm keeping this issue open until I can fix the bad error reporting. It's pretty terrible that a faulty command raises an obvious error that goes unreported to the end user.
Activity
technoweenie commentedon Mar 2, 2016
It's because that object hasn't been pushed to the server. Try running
git lfs push --allfrom your local repository to fix.Also, this is a GitHub.com issue, and has nothing to do with this open source project. In the future, you can just hit me up at https://github.com/contact.
cmaumet commentedon Mar 17, 2016
@technoweenie: I have described our issue at https://github.com/contact but we got no solution so far and it's getting worse... There are now non-pushed git-lfs files in the master branch which makes it impossible to clone the repository. To avoid spreading the issue further, we are on hold awaiting a fix. Could you let me know what is the best thing for me to do now? Thank you!
technoweenie commentedon Mar 17, 2016
Sorry, clearly I was too quick to take this private. I found the bug in a command that Git LFS uses to scan the repository history:
I gave you a workaround in our support thread, which is basically just rename the branch and try again:
Until we find a workaround with the
git rev-listcommand, you'll want to make sure your branch names don't coincide with filenames. I don't currently know enough about the command to say that we'll be able to work around it. But, we will make the command tell you why it's failing, so you're not left scratching your head for two weeks.Fix `git rev-list` when a file exists with the same name as the branch
epriestley commentedon Mar 19, 2016
#1096 has a fix, but the quick version is that adding
--at the end of the argument list (with no paths) disambiguatesspm_t_testas a ref instead of a path.technoweenie commentedon Mar 28, 2016
Thanks for the fix, @epriestley 🤘 I'm keeping this issue open until I can fix the bad error reporting. It's pretty terrible that a faulty command raises an obvious error that goes unreported to the end user.
epriestley commentedon Mar 28, 2016
Yeah -- #1100 is probably a variant of this which can only be fixed by fixing the error reporting.
ttaylorr commentedon Jul 7, 2016
Looks like things should have been fixed up with #1096, so I'm going to close this one out for now.
If the problem shows up again, please make sure to comment on this issue!