Pārlūkot izejas kodu

Better solution to previous commit.

tags/v0.3
Ben Kurtovic pirms 9 gadiem
vecāks
revīzija
2791418b9f
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. +1
    -2
      gitup/update.py

+ 1
- 2
gitup/update.py Parādīt failu

@@ -95,8 +95,7 @@ def _fetch_remotes(remotes):
for remote in remotes: for remote in remotes:
print(INDENT2, "Fetching", BOLD + remote.name, end="") 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.") print(":", YELLOW + "skipped:", "no configured refspec.")
continue continue




Notiek ielāde…
Atcelt
Saglabāt