Skip to content

Commit

Permalink
fetch: elaborate --depth action
Browse files Browse the repository at this point in the history
--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>
  • Loading branch information
Nguyễn Thái Ngọc Duy authored and Junio C Hamano committed Jan 11, 2013
1 parent 682c7d2 commit cfb70e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/fetch-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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.
Expand Down

0 comments on commit cfb70e1

Please sign in to comment.