Re: Speed of git branch --contains

2018-01-24 Thread Ævar Arnfjörð Bjarmason
On Tue, Jan 23 2018, Andreas Krey jotted: > I'm just looking at some scripts that do a 'git branch --contains $id > --remote' > for each new commit in a repo, and unfortunately each invokation already > takes four minutes. > > It feels like git branch does the reachability detection separately >

Speed of git branch --contains

2018-01-23 Thread Andreas Krey
Hi everybody, I'm just looking at some scripts that do a 'git branch --contains $id --remote' for each new commit in a repo, and unfortunately each invokation already takes four minutes. It feels like git branch does the reachability detection separately for each branch potentially listed. The al