Skip to content

Commit

Permalink
Doc: shallow clone deepens _to_ new depth
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Philip Oakley authored and Junio C Hamano committed Sep 19, 2012
1 parent 304b7d9 commit bc40dea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/fetch-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit bc40dea

Please sign in to comment.