Index: gclient_scm.py |
=================================================================== |
--- gclient_scm.py (revision 189283) |
+++ gclient_scm.py (working copy) |
@@ -703,7 +703,8 @@ |
# revert'). |
if hasattr(options, 'with_branch_heads') and options.with_branch_heads: |
config_cmd = ['config', 'remote.origin.fetch', |
- '+refs/branch-heads/*:refs/remotes/branch-heads/*'] |
+ '+refs/branch-heads/*:refs/remotes/branch-heads/*', |
+ '^\\+refs/branch-heads/\\*:.*$'] |
self._Run(config_cmd, options) |
# Update the "branch-heads" remote-tracking branches, since we might |