X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=fetch-pack.h;h=43ec344d95b40c701b2fc703b4b2b1e3ff72a2d2;hb=fb7d1e3ac8f823dd00a5760952a7f7a9788de473;hp=5b6e868802b53ca5fa59eb864199274ac538c242;hpb=f1814e02282860a85b0ca85092df08b4788103da;p=thirdparty%2Fgit.git diff --git a/fetch-pack.h b/fetch-pack.h index 5b6e868802..43ec344d95 100644 --- a/fetch-pack.h +++ b/fetch-pack.h @@ -43,6 +43,13 @@ struct fetch_pack_args { unsigned from_promisor:1; /* + * Attempt to fetch only the wanted objects, and not any objects + * referred to by them. Due to protocol limitations, extraneous + * objects may still be included. (When fetching non-blob + * objects, only blobs are excluded; when fetching a blob, the + * blob itself will still be sent. The client does not need to + * know whether a wanted object is a blob or not.) + * * If 1, fetch_pack() will also not modify any object flags. * This allows fetch_pack() to safely be called by any function, * regardless of which object flags it uses (if any).