diff --git a/doc/todo/fail_if_modification_not_commited_when_using_--spin/comment_3_c69eaa9c6ae5b07b5c2dd2591de965a3._comment b/doc/todo/fail_if_modification_not_commited_when_using_--spin/comment_3_c69eaa9c6ae5b07b5c2dd2591de965a3._comment index 60bdf59..8ad6ab4 100644 --- a/doc/todo/fail_if_modification_not_commited_when_using_--spin/comment_3_c69eaa9c6ae5b07b5c2dd2591de965a3._comment +++ b/doc/todo/fail_if_modification_not_commited_when_using_--spin/comment_3_c69eaa9c6ae5b07b5c2dd2591de965a3._comment @@ -6,7 +6,7 @@ Here's a almost-script to do it, which worked when it did it by hand:
-get old-head
+get old-head (git show-ref HEAD -s)
 get curr-branch (refs/heads/master eg)
 find old-commit (look back through git log for the first commit that was not "propellor spin")
 git reset old-commit