From 79d79a6937647fb19a340fc8f8585c9080a60a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 7 Sep 2020 17:46:19 +0200 Subject: unwip : fix git log usage --- unwip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unwip b/unwip index 1269a16..5220208 100755 --- a/unwip +++ b/unwip @@ -7,7 +7,7 @@ then git add . && git commit -m WIP && git push --force elif [ "$cmd" == "unwip" ] then - while [ $(git log --format="%s" HEAD~1..) == "WIP" ] + while [ "$(git log --format="%s" HEAD~1..)" == "WIP" ] do git reset --hard HEAD~1 done -- cgit v1.1-2-g2b99