summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>2024-08-13 11:06:30 +0200
committerJohannes Sixt <j6t@kdbg.org>2024-08-15 16:10:23 +0200
commit1ae85ff6d418238b8d987c9e019bd785e3ae7192 (patch)
treee5601d559a784c2ce802b9f265e8eb0d08aca64b /git-gui/lib/commit.tcl
parent2864e855932540c3ec6c9bf41ee3fe027d85f642 (diff)
git-gui: strip comments and consecutive empty lines from commit messages
This is also known as "washing". This is consistent with the behavior of interactive git commit, which we should emulate as closely as possible to avoid usability problems. This way commit message templates and prepare hooks can be used properly, and comments from conflicted rebases and merges are cleaned up without having to introduce special handling for them. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions