summaryrefslogtreecommitdiff
path: root/Documentation/config
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-04-08 13:23:25 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-08 13:23:25 -0700
commit22eee7f4554e777de93134c0ae06ee611bd570a4 (patch)
treeff7982688bc3eab633374f3ebdc53fb56abf3c03 /Documentation/config
parentMerge branch 'tb/reverse-midx' (diff)
parentbuiltin/clone.c: add --reject-shallow option (diff)
downloadtgif-22eee7f4554e777de93134c0ae06ee611bd570a4.tar.xz
Merge branch 'll/clone-reject-shallow'
"git clone --reject-shallow" option fails the clone as soon as we notice that we are cloning from a shallow repository. * ll/clone-reject-shallow: builtin/clone.c: add --reject-shallow option
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/clone.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/config/clone.txt b/Documentation/config/clone.txt
index 47de36a5fe..7bcfbd18a5 100644
--- a/Documentation/config/clone.txt
+++ b/Documentation/config/clone.txt
@@ -2,3 +2,7 @@ clone.defaultRemoteName::
The name of the remote to create when cloning a repository. Defaults to
`origin`, and can be overridden by passing the `--origin` command-line
option to linkgit:git-clone[1].
+
+clone.rejectShallow::
+ Reject to clone a repository if it is a shallow one, can be overridden by
+ passing option `--reject-shallow` in command line. See linkgit:git-clone[1]