]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ac/auto-comment-char-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 28 Jul 2025 19:02:34 +0000 (12:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Jul 2025 19:02:34 +0000 (12:02 -0700)
"git commit" that concludes a conflicted merge failed to notice and remove
existing comment added automatically (like "# Conflicts:") when the
core.commentstring is set to 'auto'.

* ac/auto-comment-char-fix:
  config: set comment_line_str to "#" when core.commentChar=auto
  commit: avoid scanning trailing comments when 'core.commentChar' is "auto"

1  2 
config.c

diff --cc config.c
Simple merge