git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Tan <jonathantanmy@google.com>
To: git@vger.kernel.org
Cc: Jonathan Tan <jonathantanmy@google.com>
Subject: [PATCH] Documentation: partial clone-related arguments
Date: Mon, 13 Aug 2018 14:30:48 -0700	[thread overview]
Message-ID: <20180813213048.45555-1-jonathantanmy@google.com> (raw)

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


                 reply	other threads:[~2018-08-13 21:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180813213048.45555-1-jonathantanmy@google.com \
    --to=jonathantanmy@google.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).