Martin Perry
Martin Perry

Reputation: 9527

git - cannot push to repository - bug with hashmap

When I try to push to repository, I got this message

BUG: remote.c:236: hashmap_put overwrote entry after hashmap_get returned NULL

Any idea what is wrong? Google shows nothing...

When I try push to another repository on the same server, it is working correctly. The problem is only with one repo.

Local Git version: 2.36.0.windows.1

Server Git version: 2.19.2

Upvotes: 4

Views: 435

Answers (2)

Martin Perry
Martin Perry

Reputation: 9527

Based on reporting problem to git team, the problem was caused by branch with an empty name "". After removing this form .git/config, pushing works again. However, the problem is passed to git team and will probably be solved in future version.

Upvotes: 5

torek
torek

Reputation: 489638

Git has self-detected an internal error. Report this to the Git mailing list ([email protected]). The output from git config --list --show-origin may also be useful to the Git maintainers, along with the output of git ls-remote on the remote in question (origin, probably). (The bug itself is in your Windows Git; the server version of Git should be irrelevant, but it won't hurt to mention that too.)

Upvotes: 4

Related Questions