From 16a8ff2d6d33d6a04556cd8957863dfca395bbb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 25 Aug 2010 23:59:17 +0200 Subject: [PATCH] Simplify logic. --- sunrise-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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