summaryrefslogtreecommitdiffstats
path: root/git_command.py
diff options
context:
space:
mode:
authorAnatol Pomazau <anatol@google.com>2011-08-25 17:21:47 -0700
committerShawn O. Pearce <sop@google.com>2011-11-03 13:08:27 -0700
commit53d6f4d17e0cb4eabcd604d584a1132a51cc8bf3 (patch)
treec9effdc3a5d890ac55fb8a9f2aa68ac0d500873e /git_command.py
parent9d8f914fe8ac75e18e0da2b7ce4886a2ba490fc6 (diff)
downloadgit-repo-53d6f4d17e0cb4eabcd604d584a1132a51cc8bf3.tar.gz
Add a sync flag that fetches only current branch
There is also shortcuts in case if the "current branch" is a persistent revision such as tag or sha1. We check if the persistent revision is present locally and if it does - do no fetch anything from the server. This greately reduces sync time and size of the on-disk repo Change-Id: I23c6d95185474ed6e1a03c836a47f489953b99be
Diffstat (limited to 'git_command.py')
0 files changed, 0 insertions, 0 deletions