Browse Source

Better solution to previous commit.

tags/v0.3
Ben Kurtovic 9 years ago
parent
commit
2791418b9f
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      gitup/update.py

+ 1
- 2
gitup/update.py View File

@@ -95,8 +95,7 @@ def _fetch_remotes(remotes):
for remote in remotes:
print(INDENT2, "Fetching", BOLD + remote.name, end="")

config_attr = "remote.{0}.fetch".format(remote.name)
if not _read_config(remote.repo, config_attr):
if not remote.config_reader.has_option("fetch"):
print(":", YELLOW + "skipped:", "no configured refspec.")
continue



Loading…
Cancel
Save