[PATCH] Documentation: partial clone-related arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 88e2f9ed8e ("introduce fetch-object: fetch one promisor object",
2017-12-05) introduced new command-line arguments without documenting
them. Add documentation for these arguments.

Signed-off-by: Jonathan Tan <jonathantanmy@xxxxxxxxxx>
---
This is a follow-up to [1] in which Junio noticed some arguments lacking
documentation, and I said that I would make a patch documenting these.

[1] https://public-inbox.org/git/CAGf8dg+5ywyQVfuPfbRrKFdAatst25307ctQvkWqCDKHka7z4g@xxxxxxxxxxxxxx/
---
 Documentation/git-fetch-pack.txt |  8 ++++++++
 Documentation/git-index-pack.txt | 11 +++++++++++
 2 files changed, 19 insertions(+)

diff --git a/Documentation/git-fetch-pack.txt b/Documentation/git-fetch-pack.txt
index c97588479..a9dce8fee 100644
--- a/Documentation/git-fetch-pack.txt
+++ b/Documentation/git-fetch-pack.txt
@@ -108,6 +108,14 @@ be in a separate packet, and the list must end with a flush packet.
 	Output "connectivity-ok" if the received pack is
 	self-contained and connected.
 
+--from-promisor::
+	For internal use only. Ensure that any packs generated have
+	associated .promisor files.
+
+--no-dependents::
+	For internal use only. Indicate that any objects referenced by
+	the objects given as arguments do not need to be fetched.
+
 -v::
 	Run verbosely.
 
diff --git a/Documentation/git-index-pack.txt b/Documentation/git-index-pack.txt
index d5b7560bf..a20eeff8e 100644
--- a/Documentation/git-index-pack.txt
+++ b/Documentation/git-index-pack.txt
@@ -66,6 +66,17 @@ OPTIONS
 	message can later be searched for within all .keep files to
 	locate any which have outlived their usefulness.
 
+--promisor::
+	For internal use only. Create an empty .promisor file for the
+	associated pack file. In Git repositories that are partial
+	clones, the presence of this file indicates that this pack comes
+	from the promisor remote of the repository.
+
+--promisor=<msg>::
+	For internal use only. Create a .promisor file containing the
+	given message. Note that this message may not be preserved when
+	the associated pack is repacked.
+
 --index-version=<version>[,<offset>]::
 	This is intended to be used by the test suite only. It allows
 	to force the version for the generated pack index, and to force
-- 
2.18.0.597.ga71716f1ad-goog




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux