From 08a94e65720e2e89219201b152677b0fcda27479 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 11 Sep 2010 17:09:51 -0400 Subject: Ignore -m switch to etckeeper commit, in case someone tries to use it with that option common to several VCS. Closes: #592050 --- commit.d/50vcs-commit | 3 +++ 1 file changed, 3 insertions(+) (limited to 'commit.d/50vcs-commit') diff --git a/commit.d/50vcs-commit b/commit.d/50vcs-commit index 197655f..959babb 100755 --- a/commit.d/50vcs-commit +++ b/commit.d/50vcs-commit @@ -12,6 +12,9 @@ if [ -n "$1" ]; then if [ "x$1" = "x--stdin" ]; then cat > "$logfile" else + if [ "x$1" = "x-m" ]; then + shift 1 + fi echo "$1" > "$logfile" fi else -- cgit v1.2.3