From db4a9915b25ab682762eb73d65aab44e6bddcc1f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 11 Jan 2023 21:39:15 +0300 Subject: Add --git-capabilities common option --- bpkg/repository-types.cli | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/repository-types.cli') diff --git a/bpkg/repository-types.cli b/bpkg/repository-types.cli index 21ddaf9..1692a13 100644 --- a/bpkg/repository-types.cli +++ b/bpkg/repository-types.cli @@ -189,7 +189,9 @@ that they support fetching minimal history for tags and branches and may or may not support this for commit ids depending on the server configuration. Note, however, that unlike for \cb{http(s)://}, for these protocols \cb{bpkg} does not try to sense if fetching unadvertised commits is allowed and always -assumes that it is not. +assumes that it is not. Also note that the sensed or assumed protocol +capabilities can be overridden for a \cb{git} repository URL prefix using the +\cb{--git-capabilities} option (\l{bpkg-common-options(1)}). Based on this information, to achieve optimal results the recommended protocol for remote repositories is smart \cb{https://}. Additionally, if you are -- cgit v1.1