diff options
author | Shawn O. Pearce <sop@google.com> | 2009-04-17 20:58:02 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-04-17 21:03:45 -0700 |
commit | fbcde472cadfc8319016faca90cb5b57f7a00ee4 (patch) | |
tree | ee0b2eb641c2874f5d150d0e5b1556778e308b42 /git_config.py | |
parent | d237b698652120f4d859b6f9e12e3aa15aa7b2d5 (diff) | |
download | git-repo-fbcde472cadfc8319016faca90cb5b57f7a00ee4.tar.gz |
Improve repo sync performance by avoid git forks
By resolving the current HEAD and the manifest revision using pure
Python, we can in the common case of "no changes" avoid a lot of
git operations and directly jump out of the local sync method.
This reduces the no-op `repo sync -l` time for Android's 114 projects
from more than 6s to under 0.8s.
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'git_config.py')
0 files changed, 0 insertions, 0 deletions