Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git - cannot push to repository - bug with hashmap

Tags:

git

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

like image 208
Martin Perry Avatar asked Sep 16 '25 17:09

Martin Perry


1 Answers

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.

like image 121
Martin Perry Avatar answered Sep 19 '25 06:09

Martin Perry