From 80d9bd8e37e0ddf07571f7df4c2e799d3faff351 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 7 Jun 2011 18:27:13 -0400 Subject: [PATCH] alphabetically sort each repo when doing a directory of repos --- gitup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gitup.py b/gitup.py index 4820480..2386e74 100644 --- a/gitup.py +++ b/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)