diff options
author | Orgad Shaneh <orgads@gmail.com> | 2025-07-13 23:59:38 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2025-07-14 16:11:22 +0300 |
commit | bfacf832b040885f876053244a75491b0dd792b6 (patch) | |
tree | 3dc90c0a9efca0fc1ce7b848b756db59490da770 /builtin/diff-files.c | |
parent | 3f072308447ed2aab0228d21a7ce334beeeca7e8 (diff) |
git-gui: strip the commit message after running commit-msg hook
When commit-msg writes the file using CRLF, the lines in the final
message include trailing spaces.
Postpone stripping until after hooks execute.
This aligns with Git's behavior, which passes the original message
to commit-msg, then strips comments and whitespace.
Signed-off-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'builtin/diff-files.c')
0 files changed, 0 insertions, 0 deletions