aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-06-27 00:08:51 +0200
committerLeah Neukirchen <leah@vuxu.org>2020-06-27 00:08:51 +0200
commit71af8890d889b62fc186421f1f04793511626bf2 (patch)
treef42803bccc729692cf6abb3b9c0fda9e74e4fec1
parent4759da4e208f3c9918862486ff0d7f870314c0cd (diff)
downloadgit-merge-pr-master.tar.gz
git-merge-pr-master.tar.xz
git-merge-pr-master.zip
fix wget outputHEADmaster
-rwxr-xr-xgit-merge-pr2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-merge-pr b/git-merge-pr
index 03259b7..6ec6203 100755
--- a/git-merge-pr
+++ b/git-merge-pr
@@ -17,7 +17,7 @@ PROJECT=${PROJECT##*:}
PROJECT=${PROJECT#//github.com/}
if command -v wget >/dev/null; then
- API_CMD="wget -q -O --header"
+ API_CMD="wget -q -O- --header"
PATCH_CMD="wget -nv -O"
elif command -v curl >/dev/null; then
API_CMD="curl -s -H"