git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 2/8] Doc: shallow clone deepens _to_ new depth
@ 2012-09-18 23:25 Philip Oakley
  2012-09-19  3:45 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Oakley @ 2012-09-18 23:25 UTC (permalink / raw)
  To: gitList

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>

diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
index 39d326a..b4d6476 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::
-- 
1.7.8.msysgit.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCHv2 2/8] Doc: shallow clone deepens _to_ new depth
  2012-09-18 23:25 [PATCHv2 2/8] Doc: shallow clone deepens _to_ new depth Philip Oakley
@ 2012-09-19  3:45 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2012-09-19  3:45 UTC (permalink / raw)
  To: Philip Oakley; +Cc: gitList

Philip Oakley <philipoakley@iee.org> writes:

> 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>
>
> diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
> index 39d326a..b4d6476 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.

Looks good; thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-19  3:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18 23:25 [PATCHv2 2/8] Doc: shallow clone deepens _to_ new depth Philip Oakley
2012-09-19  3:45 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).