mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-04-04 14:09:37 +00:00
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>
Description
Languages
Python
98.9%
Shell
1%
Roff
0.1%