google / zoekt

Fast trigram based code search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

too many branches?

TobiX opened this issue · comments

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?

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.

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