git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] Documentation: partial clone-related arguments
@ 2018-08-13 21:30 Jonathan Tan
  0 siblings, 0 replies; only message in thread
From: Jonathan Tan @ 2018-08-13 21:30 UTC (permalink / raw)
  To: git; +Cc: Jonathan Tan

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@google.com>
---
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@mail.gmail.com/
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-13 21:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-13 21:30 [PATCH] Documentation: partial clone-related arguments Jonathan Tan

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).