diff --git a/sunrise-commit b/sunrise-commit index f586cee..3e849a6 100755 --- a/sunrise-commit +++ b/sunrise-commit @@ -174,8 +174,7 @@ check_for_changes() { # Discard any changes to a particular set of files. vcs_reset() { if [ ${SC_VCS%-svn} = git ]; then - req git reset -q HEAD -- "${@}" - git checkout -f -- "${@}" 2>/dev/null || req rm -f -- "${@}" + git checkout HEAD -- "${@}" 2>/dev/null || req rm -f -- "${@}" elif [ ${SC_VCS} = svn ]; then req rm -f -- "${@}" svn revert -- "${@}" >/dev/null