Permalink
Browse files

unwip: check previous commit

Closes #15
  • Loading branch information...
1 parent 14879c9 commit 52ddf5df6a0f567ac86a1aaf23f5352356caf9d5 @e-nomem e-nomem committed Dec 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-unwip
View
@@ -1,2 +1,2 @@
#!/bin/sh
-git reset head^
+[[ `git log --format="%s" -1` -eq "wip" ]] && git reset head^

0 comments on commit 52ddf5d

Please sign in to comment.