Read the git config only once when doing a git cl issue -r lookup
Running git cl issue -r in a tree with dozens/hundreds of branches could be a bit slow since the code parsed .git/config twice per local branch. By parsing it only once and then looking things up in a hashtable it becomes much faster. (For my local tree with 700 branches 13 seconds became 0.3 seconds) Bug: 880734 Change-Id: I67f45de32fb7f2cc5960174e59f3476ef3021a3a Reviewed-on: https://chromium-review.googlesource.com/1206352 Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Showing
Please
register
or
sign in
to comment