Re: [PATCH v1] builtin/mktree: remove USE_THE_REPOSITORY_VARIABLE
- From
Tian Yuchen <cat@malon.dev>
- Date
- Mar 13, 2026, 18:12 UTC
- Message-ID
- <e448f98d-58be-409d-9ff2-ae45442dbded@malon.dev>
- In-Reply-To
- <xmqqzf4b4ntq.fsf@gitster.g>
On 3/14/26 01:54, Junio C Hamano wrote:
> I strongly disagree your idea that 'z' is more business logic than > 'h' is. Both are equally relevant.
Perhaps I didn't explain myself clearly :(
I do understand that *currently* both are part of the business logic. However, what puzzles me is: why is it written this way? Why isn't -h intercepted at the outer global level, but instead handed off to a function like parse_options() for interception?
Is this due to historical reasons?
Please forgive my slowness. I would appreciate it if you could offer some guidance!
Thanks,
Yuchen