mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-04 18:56:59 +00:00
Don't strip comments (#) from commit messages by default
This commit is contained in:
parent
86ea6ceda7
commit
bc2deed0fb
@ -115,7 +115,7 @@ int git_commit_create(
|
||||
git_buf_putc(&commit, '\n');
|
||||
|
||||
/* Remove comments by default */
|
||||
if (git_message_prettify(&cleaned_message, message, 1) < 0)
|
||||
if (git_message_prettify(&cleaned_message, message, 0) < 0)
|
||||
goto on_error;
|
||||
|
||||
if (git_buf_puts(&commit, git_buf_cstr(&cleaned_message)) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user