Re: [PATCH 2/2] apply: do not use the_repository
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 28, 2024, 17:37 UTC
- Message-ID
- <xmqq7cfd6dnb.fsf@gitster.g>
- In-Reply-To
- <ZlYS4zHmjKrzFtF6@ncase>
Patrick Steinhardt <ps@pks.im> writes:
Show 11 quoted lines
> If we had a USE_THE_REPOSITORY_VARIABLE macro that guards declarations > of: > > - `the_repository` > > - `the_hash_algo` > > - Functions that implicitly rely on either of the above. > > Then you could prove that a given code unit does not rely on any of the > above anymore by not declaring that macro.
;-)