51fb3a3dfa
The default of the "cleanup" option in "git commit" is not configurable. Users who don't want to use the default have to pass this option on every commit since there's no way to configure it. This commit introduces a new config option "commit.cleanup" which can be used to change the default of the "cleanup" option in "git commit". Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
6 lines
73 B
Bash
Executable File
6 lines
73 B
Bash
Executable File
#!/bin/sh
|
|
echo "commit message" >> "$1"
|
|
echo "# comment" >> "$1"
|
|
exit 0
|
|
|