]> git.eshelyaron.com Git - emacs.git/commit
Do potentially destructive operations in prepare-commit-msg
authorKonstantin Kharlamov <Hi-Angel@yandex.ru>
Wed, 15 May 2019 21:25:53 +0000 (00:25 +0300)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 17 May 2019 00:25:32 +0000 (20:25 -0400)
commit2bdc419f51630eb433deb139da67e419000c7694
treee8aa4bab2a61a0f06e402fa4263ab430032afd2a
parentcf5457764c1288ee34e01d82deb596950fc9f885
Do potentially destructive operations in prepare-commit-msg

* build-aux/git-hooks/prepare-commit-msg: If someone occasionally puts
Signed-off line, it will likely get there through -s option of git.
Exploit this fact to abort before a user got a chance to type commit
message.  (Bug#35368)
autogen.sh
build-aux/git-hooks/prepare-commit-msg [new file with mode: 0755]