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 }}
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
Func hashListToSet got stuck when there are a lots of values in hashes list
func hashListToSet(hashes []plumbing.Hash) map[plumbing.Hash]bool {
result := make(map[plumbing.Hash]bool)
for _, hash := range hashes {
result[hash] = true
}
return result
}
The text was updated successfully, but these errors were encountered:
cindy52
changed the title
Unable to push when there are a lot of merged merge requests in ref
Unable to push when there are a lot of merged merge requests history in ref
Aug 1, 2017
Do you have more information to help us reproduce the issue? Maybe an example git repository that exhibits the problem and some go code that triggers the problem in the go-git library? Perhaps some output that you used to help narrow down the problem to the hashListToSet function in particular?
I try to push to a repository that has 1000+ merged merge requests simply using following code:
err = r.Push(&git.PushOptions{Auth: auth}), then it got stuck at hashListToSet and the result of debugger saying that connected to loacalhost without no other variables. But it works fine with other repositories with little merged request history.
Func hashListToSet got stuck when there are a lots of values in hashes list
func hashListToSet(hashes []plumbing.Hash) map[plumbing.Hash]bool {
result := make(map[plumbing.Hash]bool)
for _, hash := range hashes {
result[hash] = true
}
return result
}
The text was updated successfully, but these errors were encountered: