summaryrefslogtreecommitdiff
path: root/builtin-rev-parse.c
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2007-12-22 18:46:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-23 03:55:07 (GMT)
commit5f0657374344a5d8cf5ce5a9920a08c0be422194 (patch)
tree388d086fdee6cddd2fbddb200ee96a399cd10ef5 /builtin-rev-parse.c
parent4803466f62777fe3d0b33c8f999ec392f47a5b09 (diff)
downloadgit-5f0657374344a5d8cf5ce5a9920a08c0be422194.zip
git-5f0657374344a5d8cf5ce5a9920a08c0be422194.tar.gz
git-5f0657374344a5d8cf5ce5a9920a08c0be422194.tar.bz2
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-rev-parse.c')
0 files changed, 0 insertions, 0 deletions