浏览代码

alphabetically sort each repo when doing a directory of repos

tags/v0.2
Ben Kurtovic 13 年前
父节点
当前提交
80d9bd8e37
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      gitup.py

+ 1
- 0
gitup.py 查看文件

@@ -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)



正在加载...
取消
保存