Thread (21 messages) flat view 21 messages, 3 authors, 2025-08-27

Re: [PATCH v2 2/3] config: warn on core.commentString=auto

From: Oswald Buddenhagen <hidden>
Date: 2025-08-01 14:36:20

On Thu, Jul 31, 2025 at 04:21:54PM +0100, Phillip Wood wrote:
From: Phillip Wood <redacted>

As support for this setting was deprecated in the last commit print a
warning (or die when WITH_BREAKING_CHANGES is enabled) if it is set.
When printing a warning avoid bombarding the user by only printing it
when running commands commands that run "git commit" and only only
something is very wrong with this line.
once per command. Some scaffolding is added to repo_read_config()
to allow it to detect deprecated config settings and warn about
them. As both "core.commentChar" and "core.commentString" set the
comment character we record which one of them is used and tailor the
warning message appropriately.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help