diff --git a/sunrise-commit b/sunrise-commit index f3eb97f..2d2d6fa 100755 --- a/sunrise-commit +++ b/sunrise-commit @@ -399,7 +399,7 @@ main() { # With DVCS repos, we do not do ChangeLogs by default... # ...at least unless they're already there. - if [ ${SC_VCS#git-} = svn -o ${SC_VCS#git-} = cvs -o -f ChangeLog ]; then + if [ ${SC_VCS#git-} = svn -o ${SC_VCS} = cvs -o -f ChangeLog ]; then sayv 'Cleaning up the ChangeLog...' vcs_reset ChangeLog