Skip to content
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

too many branches? #32

Open
TobiX opened this issue Dec 8, 2017 · 2 comments
Open

too many branches? #32

TobiX opened this issue Dec 8, 2017 · 2 comments

Comments

@TobiX
Copy link
Contributor

TobiX commented Dec 8, 2017

Hi,

I was trying to index some large repositories with a mass of release and feature braches (80 to be exact) and ran into the error

indexGitRepo(/PATH): too many branches

I can see in

if len(desc.Branches) > 64 {
that the maximum is 64 branches. Is this a technical limitation? Can I raise the limit without ill effect?

@hanwen
Copy link
Contributor

hanwen commented Dec 11, 2017

the branches are used in a int64 bitmask, so we would need to reorganize some code to use []byte instead and support a variable number of branches. PR appreciated.

@hanwen
Copy link
Contributor

hanwen commented Dec 12, 2017

(and when I say PR, I really mean a Gerrit code review on gerrit.googlesource.com)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants