Re: [PATCH] git: --no-lazy-fetch option
- From
- Linus Arver <linusa@google.com>
- Date
- Feb 13, 2024, 20:37 UTC
- Message-ID
- <owlyo7ck9k3y.fsf@fine.c.googlers.com>
- In-Reply-To
- <owlyr0hg9kr3.fsf@fine.c.googlers.com>
Linus Arver <linusa@google.com> writes:
Show 8 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > >> Sometimes, especially during tests of low level machinery, it is >> handy to have a way to disable lazy fetching of objects. This >> allows us to say, for example, "git cat-file -e <object-name>", to >> see if the object is locally available. > > Nit: perhaps s/locally/already locally/ is better?
I forgot to mention that the new flag is missing a documentation entry in Documentation/git.txt. Perhaps something like
--no-lazy-fetch::
Do not fetch missing objects. Useful together with `git cat-file -e
<object-name>`, for example, to see if the object is already
locally available.?