{"thread":{"id":"31599","subject":"[PATCHv2 2/8] Doc: shallow clone deepens _to_ new depth","startedAt":"2012-09-18T23:25:28Z","lastAt":"2012-09-19T03:45:36Z","messageCount":2,"participants":["Philip Oakley","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"199431","messageId":"1348010734-664-3-git-send-email-philipoakley@iee.org","threadId":"31599","inReplyTo":null,"subject":"[PATCHv2 2/8] Doc: shallow clone deepens _to_ new depth","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.org","sentAt":"2012-09-18T23:25:28Z","receivedAt":"2012-09-18T23:25:28Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"Clarify that 'depth=' specifies the new depth from the remote's\nbranch tip. It does not add the depth to the existing shallow clone.\n(details from pack-protocol.txt).\nClarify that tags are not fetched. (details from shallow.txt)\n\nSigned-off-by: Philip Oakley <philipoakley@iee.org>\n\ndiff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt\nindex 39d326a..b4d6476 100644\n--- a/Documentation/fetch-options.txt\n+++ b/Documentation/fetch-options.txt\n@@ -10,7 +10,8 @@\n --depth=<depth>::\n \tDeepen the history of a 'shallow' repository created by\n \t`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])\n-\tby the specified number of commits.\n+\tto the specified number of commits from the tip of each remote\n+\tbranch history. Tags for the deepened commits are not fetched.\n \n ifndef::git-pull[]\n --dry-run::\n-- \n1.7.8.msysgit.0\n"},{"id":"199438","messageId":"7vvcfaiskf.fsf@alter.siamese.dyndns.org","threadId":"31599","inReplyTo":"1348010734-664-3-git-send-email-philipoakley@iee.org","subject":"Re: [PATCHv2 2/8] Doc: shallow clone deepens _to_ new depth","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-09-19T03:45:36Z","receivedAt":"2012-09-19T03:45:36Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Philip Oakley <philipoakley@iee.org> writes:\n\n> Clarify that 'depth=' specifies the new depth from the remote's\n> branch tip. It does not add the depth to the existing shallow clone.\n> (details from pack-protocol.txt).\n> Clarify that tags are not fetched. (details from shallow.txt)\n>\n> Signed-off-by: Philip Oakley <philipoakley@iee.org>\n>\n> diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt\n> index 39d326a..b4d6476 100644\n> --- a/Documentation/fetch-options.txt\n> +++ b/Documentation/fetch-options.txt\n> @@ -10,7 +10,8 @@\n>  --depth=<depth>::\n>  \tDeepen the history of a 'shallow' repository created by\n>  \t`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])\n> -\tby the specified number of commits.\n> +\tto the specified number of commits from the tip of each remote\n> +\tbranch history. Tags for the deepened commits are not fetched.\n\nLooks good; thanks.\n"}]}