diff mbox series

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

Message ID 307a1837196a1508963a70bf4c0c4ac5727e4d19.1628845748.git.dyroneteng@gmail.com (mailing list archive)
State New, archived
Headers show
Series packfile-uri: http and https as default value of `--uri-protocol` | expand

Commit Message

Teng Long Aug. 13, 2021, 9:14 a.m. UTC
Signed-off-by: Teng Long <dyroneteng@gmail.com>
---
 Documentation/git-pack-objects.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Ævar Arnfjörð Bjarmason Aug. 21, 2021, 8:05 a.m. UTC | #1
On Fri, Aug 13 2021, Teng Long wrote:

> 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]

This sort of link to technical/* doesn't work, see greeping for other
technical/ resources, unfortunately we link to the generated HTML.

(I have an unsubmitted series to clean that up and move them to the main
manpage space, but in the mentime...).
diff mbox series

Patch

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
 ---