summaryrefslogtreecommitdiff
path: root/commit.d/50vcs-commit
diff options
context:
space:
mode:
Diffstat (limited to 'commit.d/50vcs-commit')
-rwxr-xr-xcommit.d/50vcs-commit3
1 files changed, 3 insertions, 0 deletions
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