Orgad Shaneh bfacf832b0 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>
2025-07-14 16:11:22 +03:00
..
2025-07-08 21:22:48 +02:00
2024-05-05 16:49:00 +02:00