From af28477f433206666d06f7b501f06e8969b3cf0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 8 Nov 2010 20:22:35 +0100 Subject: [PATCH] Pass '--vcs' parameter to echangelog to avoid different decisions. As reported on github #4, it is possible that with mixed-VCS repos sunrise-commit will prefer a different VCS than echangelog would do. To avoid that, always pass our VCS to echangelog. --- sunrise-commit.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sunrise-commit.in b/sunrise-commit.in index ba5ebf1..6823f02 100755 --- a/sunrise-commit.in +++ b/sunrise-commit.in @@ -437,7 +437,8 @@ main() { if [ -z "${trivial}" ]; then sayv '...and appending to it.' - echangelog "${commitmsg}" || die 'Please correct the problems shown by echangelog.' + echangelog --vcs ${SC_VCS} "${commitmsg}" \ + || die 'Please correct the problems shown by echangelog.' echo fi