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