aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Oakley <philipoakley@iee.org>2012-09-19 00:25:28 +0100
committerJunio C Hamano <gitster@pobox.com>2012-09-18 21:47:12 -0700
commitbc40deabbce2fec844c57bf933143babe549bce3 (patch)
tree7687f3491d9608e2cdd491885e3ef989aaae947e
parent304b7d99a705e8c125650dda347a571402222a3e (diff)
downloadgit-bc40deabbce2fec844c57bf933143babe549bce3.tar.gz
git-bc40deabbce2fec844c57bf933143babe549bce3.tar.xz
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>
-rw-r--r--Documentation/fetch-options.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
index 39d326abc..b4d6476ac 100644
--- a/Documentation/fetch-options.txt
+++ b/Documentation/fetch-options.txt
@@ -10,7 +10,8 @@
--depth=<depth>::
Deepen the history of a 'shallow' repository created by
`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
- by the specified number of commits.
+ to the specified number of commits from the tip of each remote
+ branch history. Tags for the deepened commits are not fetched.
ifndef::git-pull[]
--dry-run::