-
Notifications
You must be signed in to change notification settings - Fork 1.3k
"entry is not unique due to being a multivar" #2700
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
Comments
That error seems to occur when reading Git config variables that are structured in an unexpected way, specifically. Could you share (the non-sensitive parts of) your Git config? The next time GitUp shows this error, open the repo in a Terminal and run:
|
Similarly in another repo where I get the same issue, this is the config for two branches that displays the same error.
Looks to me like the similarity is that there are multiple of the Let me know if there is anything else I can do to help debug. |
Thanks for the details! I was able to reproduce locally by adding duplicate config options, like in your setup. This does look like this is a libgit2 issue: GitUp calls Of note, #2683 kind of fixes the issue: with that PR, deleting the branch still fails (now with a We should open an issue with libgit2, since that's where the actual bug seems to live. |
Uh oh!
There was an error while loading. Please reload this page.
I've recently started getting this error often when I am trying to delete local branches within GitUp, it does not seem to happen to every branch, just some branches. It does not appear to be dependent on a specific git repo, it happens in all my git repos. It didn't start happening to me until one or two updates ago. I can successfully delete any branches this happens to via git CLI, the error seems to be GitUp specific. A quick google suggests it may be coming from libgit2...?
The text was updated successfully, but these errors were encountered: