aboutsummaryrefslogtreecommitdiff
path: root/contrib/prepare-commit-msg
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-07-22 11:26:08 +0200
committerMartin Liska <mliska@suse.cz>2022-07-22 13:19:24 +0200
commit18ef76d3a1701c4dd7ab38ebda5c374b6bc13041 (patch)
tree41a6602d7b0a289e8c83aa377770ce4e8b68d41e /contrib/prepare-commit-msg
parent786e51648bd9a6880339329380751809fb97cd6d (diff)
downloadgcc-18ef76d3a1701c4dd7ab38ebda5c374b6bc13041.zip
gcc-18ef76d3a1701c4dd7ab38ebda5c374b6bc13041.tar.gz
gcc-18ef76d3a1701c4dd7ab38ebda5c374b6bc13041.tar.bz2
Allow space in git commit-mklog args
contrib/ChangeLog: * git-commit-mklog.py: Do not parse -b argument. Pass mklog_args as json environment variable. * mklog.py: Parse GCC_MKLOG_ARGS and append it to sys.argv. * prepare-commit-msg: Do not append GCC_MKLOG_ARGS to args.
Diffstat (limited to 'contrib/prepare-commit-msg')
-rwxr-xr-xcontrib/prepare-commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/prepare-commit-msg b/contrib/prepare-commit-msg
index 5da8784..969847d 100755
--- a/contrib/prepare-commit-msg
+++ b/contrib/prepare-commit-msg
@@ -78,4 +78,4 @@ else
tee="cat"
fi
-git $cmd | $tee | git gcc-mklog $GCC_MKLOG_ARGS -c "$COMMIT_MSG_FILE"
+git $cmd | $tee | git gcc-mklog -c "$COMMIT_MSG_FILE"