OSDN Git Service

glossary: define the term shallow clone
authorStephen P. Smith <ischis2@cox.net>
Tue, 29 Dec 2015 18:54:35 +0000 (11:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Dec 2015 19:18:36 +0000 (11:18 -0800)
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 <ischis2@cox.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/glossary-content.txt

index 4e0b971..c408d72 100644 (file)
@@ -504,6 +504,11 @@ The most notable example is `HEAD`.
        "Secure Hash Algorithm 1"; a cryptographic hash function.
        In the context of Git used as a synonym for <<def_object_name,object name>>.
 
+[[def_shallow_clone]]shallow clone::
+       Mostly a synonym to <<def_shallow_repository,shallow repository>>
+       but the phrase makes it more explicit that it was created by
+       running `git clone --depth=...` command.
+
 [[def_shallow_repository]]shallow repository::
        A shallow <<def_repository,repository>> has an incomplete
        history some of whose <<def_commit,commits>> have <<def_parent,parents>> cauterized away (in other