diff options
author | Ralf Thielow <ralf.thielow@gmail.com> | 2013-01-10 18:45:59 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-10 11:45:02 -0800 |
commit | 51fb3a3dfa4ffeeb210fb0e7d6f631503a5a1dfb (patch) | |
tree | 17e4f55ceaa5af76c77f41f51cb46f801657fdff /t/t7500 | |
parent | 44fe83502edf5391bb3a5997cab01794b4568062 (diff) | |
download | git-51fb3a3dfa4ffeeb210fb0e7d6f631503a5a1dfb.tar.gz |
commit: make default of "cleanup" option configurable
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>
Diffstat (limited to 't/t7500')
-rwxr-xr-x | t/t7500/add-content-and-comment | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t7500/add-content-and-comment b/t/t7500/add-content-and-comment new file mode 100755 index 0000000000..c4dccff13a --- /dev/null +++ b/t/t7500/add-content-and-comment @@ -0,0 +1,5 @@ +#!/bin/sh +echo "commit message" >> "$1" +echo "# comment" >> "$1" +exit 0 + |