Selaa lähdekoodia

alphabetically sort each repo when doing a directory of repos

tags/v0.2
Ben Kurtovic 13 vuotta sitten
vanhempi
commit
80d9bd8e37
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. +1
    -0
      gitup.py

+ 1
- 0
gitup.py Näytä tiedosto

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



Ladataan…
Peruuta
Tallenna