Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Just FYI: git branch -a --contains in a large repo

gatlassian0
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 23, 2018

Just in case someone else runs into this.  We were finding our bitbucket server being overloaded by a bunch of git processes that looked like:

git branch -a --contains <sha1>

For one of our repos with thousands of branches, this process would sometimes take over 20 seconds to run each.  It turns out that this was being done by the 'Push Email Notifier'.

We'll likely be switching to something else going forwards.

 

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events