Thread (1 message) 1 message, 1 author, 2024-02-13

Re: [PATCH] git: --no-lazy-fetch option

From: Junio C Hamano <hidden>
Date: 2024-02-13 20:49:37

Linus Arver [off-list ref] writes:
Linus Arver [off-list ref] writes:
quoted
Junio C Hamano [off-list ref] writes:
quoted
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.

?
Wonderful.  Thanks for an extra set of eyes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help