Browse Source

alphabetically sort each repo when doing a directory of repos

tags/v0.2
Ben Kurtovic 13 years ago
parent
commit
80d9bd8e37
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      gitup.py

+ 1
- 0
gitup.py View File

@@ -150,6 +150,7 @@ def update_directory(dir_path, dir_name, is_bookmark=False):
out(0, "{} '{}{}{}' contains {} git {}:".format(dir_source,
ansi['bold'], dir_path, ansi['reset'], repo_count, pluralize))

repositories.sort() # go alphabetically instead of randomly
for repo_path, repo_name in repositories:
update_repository(repo_path, repo_name)



Loading…
Cancel
Save