X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=Documentation%2Ftechnical%2Fpartial-clone.txt;h=0780d30caca6aa1e93a77b9bfb2dc15103fd1a99;hb=e1dd499513a363434d1ed4cd5e409fea17a93b28;hp=b9e17e7a28784a5b3ab1345db94940eb05e5b6c6;hpb=883326077a1995a5ea122c298ff47fcd85782c49;p=thirdparty%2Fgit.git diff --git a/Documentation/technical/partial-clone.txt b/Documentation/technical/partial-clone.txt index b9e17e7a28..0780d30cac 100644 --- a/Documentation/technical/partial-clone.txt +++ b/Documentation/technical/partial-clone.txt @@ -171,20 +171,13 @@ additional flag. Fetching Missing Objects ------------------------ -- Fetching of objects is done using the existing transport mechanism using - transport_fetch_refs(), setting a new transport option - TRANS_OPT_NO_DEPENDENTS to indicate that only the objects themselves are - desired, not any object that they refer to. -+ -Because some transports invoke fetch_pack() in the same process, fetch_pack() -has been updated to not use any object flags when the corresponding argument -(no_dependents) is set. +- Fetching of objects is done by invoking a "git fetch" subprocess. - The local repository sends a request with the hashes of all requested - objects as "want" lines, and does not perform any packfile negotiation. + objects, and does not perform any packfile negotiation. It then receives a packfile. -- Because we are reusing the existing fetch-pack mechanism, fetching +- Because we are reusing the existing fetch mechanism, fetching currently fetches all objects referred to by the requested objects, even though they are not necessary.