瀏覽代碼

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)



Loading…
取消
儲存