瀏覽代碼

Better solution to previous commit.

tags/v0.3
Ben Kurtovic 9 年之前
父節點
當前提交
2791418b9f
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      gitup/update.py

+ 1
- 2
gitup/update.py 查看文件

@@ -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…
取消
儲存