-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Barfs on negative refspecs #4961
Comments
Hi! Thanks for writing in. I believe the root of this lies upstream in libgit2 which doesn't support negative refspecs libgit2/libgit2#6741. I do however wonder if the offending area might be replaceable with gitoxide which could resolve the issue. |
Indeed, the issue is that It will probably be a while until I get to this, but maybe it's possible to make this work surgically by only using |
Thanks both. Nice to hear as well that |
Version
0.12.25
Operating System
Windows
Distribution Method
msi (Windows)
Describe the issue
I wanted to open a local repository and got the following error message:
How to reproduce
git clone --depth 1 https://github.com/gitbutlerapp/gitbutler
Add a negative refspec, see https://stackoverflow.com/a/64287272, to the config:
Opening the repo in gitbutler gives the above error message.
I'd guess this is a gitoxide issue.
Expected behavior
No response
Relevant log output
The text was updated successfully, but these errors were encountered: