Skip to content

Commit bac5874

Browse files
Stephen P. Smithgitster
authored andcommitted
glossary: define the term shallow clone
There are several places in the documentation that the term shallow clone is used. Defining the term enables its use elsewhere with a known definition. Signed-off-by: Stephen P. Smith <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1de2e44 commit bac5874

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Documentation/glossary-content.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,11 @@ The most notable example is `HEAD`.
504504
"Secure Hash Algorithm 1"; a cryptographic hash function.
505505
In the context of Git used as a synonym for <<def_object_name,object name>>.
506506

507+
[[def_shallow_clone]]shallow clone::
508+
Mostly a synonym to <<def_shallow_repository,shallow repository>>
509+
but the phrase makes it more explicit that it was created by
510+
running `git clone --depth=...` command.
511+
507512
[[def_shallow_repository]]shallow repository::
508513
A shallow <<def_repository,repository>> has an incomplete
509514
history some of whose <<def_commit,commits>> have <<def_parent,parents>> cauterized away (in other

0 commit comments

Comments
 (0)