git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v1 2/3] git-pack-objects.txt: introduce `--uri-protocol` option

From
Teng Long <dyroneteng@gmail.com>
Date
Aug 13, 2021, 09:14 UTC
Message-ID
<307a1837196a1508963a70bf4c0c4ac5727e4d19.1628845748.git.dyroneteng@gmail.com>
In-Reply-To
<cover.1628845748.git.dyroneteng@gmail.com>
Signed-off-by: Teng Long <dyroneteng@gmail.com>
---
 Documentation/git-pack-objects.txt | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index 25d9fbe37a..16057b8c7d 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -313,6 +313,14 @@ raise an error.
 --unpack-unreachable::
 	Keep unreachable objects in loose form. This implies `--revs`.
 
+--uri-protocol::
+	Exclude objects which hit the KEY (the object hash) of
+	`uploadpack.excludeobject` or `uploadpack.blobpackfileuri`
+	config (See linkgit:packfile-uri[1]) in repository and the
+	VALUE (the packfile uri) matches the given option parameter.
+	If this option is set, but without a value, it defaults to
+	the value will be "http" and "https".
+
 --delta-islands::
 	Restrict delta matches based on "islands". See DELTA ISLANDS
 	below.
@@ -426,6 +434,7 @@ SEE ALSO
 linkgit:git-rev-list[1]
 linkgit:git-repack[1]
 linkgit:git-prune-packed[1]
+linkgit:packfile-uri[1]
 
 GIT
 ---
-- 
2.32.0.1.g0de8fe24d1.dirty
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 4 of 7 in “packfile-uri: http and https as default value of `--uri-protocol`”
  1. 0/3 packfile-uri: http and https as default value of `--uri-protocol`Teng Long, Aug 13, 2021
  2. 1/3 packfile-uri: http and https as default value of `--uri-protocol`Teng Long, Aug 13, 2021
  3. Ævar Arnfjörð BjarmasonAug 21, 2021
  4. 2/3 git-pack-objects.txt: introduce `--uri-protocol` optionTeng Long, Aug 13, 2021
  5. Ævar Arnfjörð BjarmasonAug 21, 2021
  6. 3/3 t5702: `fetch.uriprotocols` is configured without valueTeng Long, Aug 13, 2021
  7. Ævar Arnfjörð BjarmasonAug 21, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.