Doc: shallow clone deepens _to_ new depth
Clarify that 'depth=' specifies the new depth from the remote's branch tip. It does not add the depth to the existing shallow clone. (details from pack-protocol.txt). Clarify that tags are not fetched. (details from shallow.txt) Signed-off-by: Philip Oakley <philipoakley@iee.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Philip Oakley committed
Sep 19, 2012 at 00:25 UTC
bc40deabbce2fec844c57bf933143babe549bce3
1 file changed
+2
-1
Documentation/fetch-options.txt
+2
-1
@@ -10,7 +10,8 @@
10
--depth=<depth>::
11
Deepen the history of a 'shallow' repository created by
12
`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
13
- by the specified number of commits.
13
+ to the specified number of commits from the tip of each remote
14
+ branch history. Tags for the deepened commits are not fetched.
15
16
ifndef::git-pull[]
17
--dry-run::