diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2016-02-16 00:27:09 -0500 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-02-16 00:27:09 -0500 |
commit | 0a5fc97fb8b2590745f39960266ac0bbeac5c1f0 (patch) | |
tree | 4c09c3cc126436ba0919a1b668006891e5f5393e | |
parent | df307b6dbde93f51f7eaba0cf63e2865f66a4ab1 (diff) | |
download | stable-tools-0a5fc97fb8b2590745f39960266ac0bbeac5c1f0.tar.gz |
stable-yank: brainfart
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
-rwxr-xr-x | stable-yank | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stable-yank b/stable-yank index 2e4adef..7918a9d 100755 --- a/stable-yank +++ b/stable-yank @@ -20,7 +20,7 @@ after=$(echo $location | awk {'print $1'}) before=$(echo $location | awk {'print $3'}) # Topmost commit? -if [ "$before" = "" ] +if [ "$before" = "" ]; then git reset --hard HEAD^ exit fi |