mirror of
https://github.com/git/git.git
synced 2024-11-05 08:47:56 +01:00
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>
5 lines
73 B
Bash
Executable file
5 lines
73 B
Bash
Executable file
#!/bin/sh
|
|
echo "commit message" >> "$1"
|
|
echo "# comment" >> "$1"
|
|
exit 0
|
|
|