From 849ccc9cf71fe60c866f26038abe1781bb6343c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 28 Oct 2010 18:38:49 +0200 Subject: [PATCH] We don't expect SC_VCS to be git-cvs. --- sunrise-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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