Skip to content
Browse files

Move to end.

  • Loading branch information...
1 parent 4f23ccf commit 6a7b52cea19143ac66b34ffb7c6d11e70495b458 @lamby committed Mar 8, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/lamby-git-sync
View
6 bin/lamby-git-sync
@@ -113,15 +113,15 @@ def sync(origin, *suffix, **kwargs):
'git', 'branch', '-r',
), stdout=subprocess.PIPE, cwd=target).communicate()[0]
- if email is not None:
- call_quiet('git', 'config', 'user.email', email, cwd=target)
-
for x in [x.strip() for x in stdout.strip().split('\n')]:
if ' -> ' in x or 'master' in x:
continue
call_quiet('git', 'branch', '--track', x.split('/')[1], x, cwd=target)
+ if email is not None:
+ call_quiet('git', 'config', 'user.email', email, cwd=target)
+
def github_repos(path):
print "I: Syncing GitHub repos owned by %s..." % path

0 comments on commit 6a7b52c

Please sign in to comment.
Something went wrong with that request. Please try again.