summaryrefslogtreecommitdiffstats
path: root/unwip
diff options
context:
space:
mode:
Diffstat (limited to 'unwip')
-rwxr-xr-xunwip2
1 files changed, 1 insertions, 1 deletions
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