Skip to content

Commit fc14281

Browse files
sschuberthgitster
authored andcommitted
docs: say "commits" in the --depth option wording for git-clone
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 <[email protected]>
1 parent 28a1b56 commit fc14281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-clone.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ objects from the source repository into a pack in the cloned repository.
178178

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

0 commit comments

Comments
 (0)