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 <ischis2@cox.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stephen P. Smith committed
Dec 29, 2015 at 11:54 UTC
bac58749bb2cd04720a4d5a1f58ebc428869f9a2
1 file changed
+5
Documentation/glossary-content.txt
+5
@@ -504,6 +504,11 @@ The most notable example is `HEAD`.
504
"Secure Hash Algorithm 1"; a cryptographic hash function.
505
In the context of Git used as a synonym for <<def_object_name,object name>>.
506
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
+
512
[[def_shallow_repository]]shallow repository::
513
A shallow <<def_repository,repository>> has an incomplete
514
history some of whose <<def_commit,commits>> have <<def_parent,parents>> cauterized away (in other