Re: [GSOC PATCH v3] commit: avoid scanning trailing comments when 'core.commentChar' is "auto"
- From
- Phillip Wood <phillip.wood123@gmail.com>
- Date
- Jul 9, 2025, 14:17 UTC
- Message-ID
- <0570c2fb-115d-483d-ad7f-35786994f5d1@gmail.com>
- In-Reply-To
- <CAE7as+Yp9GWRohqe4oHHmYa1MfuKbyg9qKRf_z6N50bCSZ8vzQ@mail.gmail.com>
Hi Ayush
On 08/07/2025 16:47, Ayush Chandekar wrote:
Show 6 quoted lines
> > Now that we're planning to get rid of the 'auto' keyword from > commentChar [1], do you think it would be better if we just ignored > the keyword when we detect conflict comments? Also, how is it that a > user will end up having lines starting with the character being the > same as the conflict comment's character?
Let see if Junio agrees with depreciation and removing support for commentChar=auto first. If we do deprecate it then we should still support it until it is removed so I'm leaning towards fixing the config parsing to reset comment_line_char to '#' instead.
Thanks
Phillip