fetch: elaborate --depth action
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 11 Jan 2013 09:05:48 +0000 (16:05 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Jan 2013 17:11:10 +0000 (09:11 -0800)
--depth is explained as deepen, but the way it's applied, it can
shorten the history as well. Keen users may have noticed the
implication by the phrase "the specified number of commits from the
tip of each remote branch". Put "shorten" in the description to make
it clearer.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/fetch-options.txt
index 7fea9a8ecd0a542d49ba37af96bebc9fe8e16d97..9cb649673d609c3b27b46ae5dd217edfcc28a5a9 100644 (file)
@@ -8,7 +8,7 @@
        option old data in `.git/FETCH_HEAD` will be overwritten.
 
 --depth=<depth>::
        option old data in `.git/FETCH_HEAD` will be overwritten.
 
 --depth=<depth>::
-       Deepen the history of a 'shallow' repository created by
+       Deepen or shorten the history of a 'shallow' repository created by
        `git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
        to the specified number of commits from the tip of each remote
        branch history. Tags for the deepened commits are not fetched.
        `git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
        to the specified number of commits from the tip of each remote
        branch history. Tags for the deepened commits are not fetched.