Fix resetting repos without new changes.

This brings the command in line with gerrit-git-prep.

Change-Id: I5f40403e506d0b759b77a5cc27b0eb14d3cfa085
This commit is contained in:
James E. Blair
2012-08-29 14:44:53 -07:00
parent 1b367a87fa
commit 0149935481

View File

@@ -104,7 +104,7 @@ function setup_workspace {
exit 1
fi
git checkout $BRANCH
git reset --hard
git reset --hard remotes/origin/$BRANCH
git clean -x -f -d -q
fi