aboutsummaryrefslogtreecommitdiff
path: root/builtin-tar-tree.c
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2007-12-22 19:46:24 +0100
committerJunio C Hamano <gitster@pobox.com>2007-12-22 19:55:07 -0800
commit5f0657374344a5d8cf5ce5a9920a08c0be422194 (patch)
tree388d086fdee6cddd2fbddb200ee96a399cd10ef5 /builtin-tar-tree.c
parent4803466f62777fe3d0b33c8f999ec392f47a5b09 (diff)
downloadgit-5f0657374344a5d8cf5ce5a9920a08c0be422194.tar.gz
git-5f0657374344a5d8cf5ce5a9920a08c0be422194.tar.xz
Allow selection of different cleanup modes for commit messages
Although we traditionally stripped away excess blank lines, trailing whitespaces and lines that begin with "#" from the commit log message, sometimes the message just has to be the way user wants it. For instance, a commit message template can contain lines that begin with "#", the message must be kept as close to its original source as possible if you are converting from a foreign SCM, or maybe the message has a shell script including its comments for future reference. The cleanup modes are default, verbatim, whitespace and strip. The default mode depends on if the message is being edited and will either strip whitespace and comments (if editor active) or just strip the whitespace (for where the message is given explicitely). Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-tar-tree.c')
0 files changed, 0 insertions, 0 deletions