Skip to content

Commit

Permalink
docs: say "commits" in the --depth option wording for git-clone
Browse files Browse the repository at this point in the history
It is not wrong to talk about "revisions" here, but in this context
revisions are always commits, and that is how we already name it in the
git-fetch docs. So align the docs by always referring to "commits".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Sebastian Schuberth authored and Junio C Hamano committed Jan 8, 2016
1 parent 28a1b56 commit fc14281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/git-clone.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ objects from the source repository into a pack in the cloned repository.

--depth <depth>::
Create a 'shallow' clone with a history truncated to the
specified number of revisions. Implies `--single-branch` unless
specified number of commits. Implies `--single-branch` unless
`--no-single-branch` is given to fetch the histories near the
tips of all branches.

Expand Down

0 comments on commit fc14281

Please sign in to comment.