diff options
author | Shawn O. Pearce <sop@google.com> | 2009-04-17 20:32:44 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-04-17 21:03:45 -0700 |
commit | 0f3dd233ecaf8d145ddb33a5ef1b8d3d71ade476 (patch) | |
tree | 327212154350ab031cbd64e39c8ef93cbd9bb6b5 /main.py | |
parent | c12c360f89d4d1cc0a0ad80c4ea0785f84be1848 (diff) | |
download | git-repo-0f3dd233ecaf8d145ddb33a5ef1b8d3d71ade476.tar.gz |
Avoid unnecessary git symbolic-ref calls during repo sync
If the m/BRANCH ref is already pointing at the value set in the
manifest there is no reason to set it again. Leave it alone,
thus saving a full fork+exec call.
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'main.py')
0 files changed, 0 insertions, 0 deletions