diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2020-08-17 21:48:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-25 02:30:08 +0200 |
commit | 42d418df909e8628412ee16167c63dad005cc875 (patch) | |
tree | 7289dff5ba15ea4e83a9fccfff1a62fb089acf1f /transport.h | |
parent | Seventh batch (diff) | |
download | git-42d418df909e8628412ee16167c63dad005cc875.tar.xz git-42d418df909e8628412ee16167c63dad005cc875.zip |
(various): document from_promisor parameter
88e2f9ed8e ("introduce fetch-object: fetch one promisor object",
2017-12-05) plumbed through the from_promisor parameter but did
not document it everywhere it appeared. Add the documentation.
(It also plumbed through the no_dependents parameter, but I have left
that alone because it is being removed in a commit under review [1].)
[1] https://lore.kernel.org/git/e8f16d69089a5011c355d5939c56fa53b7a1eb2d.1597184949.git.jonathantanmy@google.com/
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/transport.h b/transport.h index 1be4013dec..298d9eedc9 100644 --- a/transport.h +++ b/transport.h @@ -15,7 +15,10 @@ struct git_transport_options { unsigned self_contained_and_connected : 1; unsigned update_shallow : 1; unsigned deepen_relative : 1; + + /* see documentation of corresponding flag in fetch-pack.h */ unsigned from_promisor : 1; + unsigned no_dependents : 1; /* |