[Patchew-devel] [PATCH] cli: Fix git fetch cmdline
fam at euphon.net
fam at euphon.net
Thu Oct 22 14:44:46 UTC 2020
From: Fam Zheng <fam at euphon.net>
The argument causes an error when doing git-fetch. Seems to be a bug
introduced in 7e35f90584.
---
patchew-cli | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/patchew-cli b/patchew-cli
index 9cfdf36..a7828b1 100755
--- a/patchew-cli
+++ b/patchew-cli
@@ -71,7 +71,7 @@ def git_clone_repo(clone, remote, head, logf, checkout=True, recursive=False):
)
if head.startswith("refs/tags/"):
subprocess.check_call(
- ["git", "fetch", remote_name, "+%s:%s" % (head, head)],
+ ["git", "fetch", remote_name, head],
cwd=cache_repo,
stdout=logf,
stderr=logf,
--
2.25.1
More information about the Patchew-devel
mailing list