From: Tian Yuchen Date: Fri, 19 Jun 2026 16:01:57 GMT Subject: Re: [PATCH v2 0/2] environment: move ignore_case into repo_config_values Message-ID: In-Reply-To: On 6/18/26 21:14, Junio C Hamano wrote: > Tian Yuchen writes: > >> Related materials: >> >> [1] In this patch to migrate protect_hfs and protect_ntfs, the approach >> of introducing getters has been endorsed. >> >> [2] Derrick Stolee's previous attempt. The reasons for the failure are >> also mentioned in [1]. > > [1] here refers to the starting message of the whole hfs/ntfs thing. > Do you mean that people must read the entire thread to find out what > the reasons for the failure was? For that matter, it is not clear, > unless readers read the whole thread, where the approach of using > getters was "endorsed", either. > What I meant to say was that the reasons were already mentioned in the _cover-letter_ for the patch which the link refers to. It’s certainly my fault for not expressing myself clearly. Nevertheless, I’ve briefly explained the content of the link directly in the cover-letter for V3. >> [1] https://lore.kernel.org/git/20260606143412.15443-1-cat@malon.dev/ >> [2] https://lore.kernel.org/git/2b4198c09cb6c04c60608d19072d419503dfe5df.1685716421.git.gitgitgadget@gmail.com/ > >> Changes since V1: >> >> - s/repo_get_ignore_case()/repo_ignore_case() >> >> - Use repo->initialized instead of repo->gitdir > > I do not think I have any objections to these changes from the > previous iteration. There may be some other things in the new > iteration but I'll have to go in and read the patches to find them > out (if they exist). > > Thanks. Additionally, I’ll change 'repo->gitdir' to using 'repo->initialized' for the previous three bits as well. Regards, yuchen