aboutsummaryrefslogtreecommitdiff
path: root/Documentation/repository-layout.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-17 10:53:31 -0800
committerJunio C Hamano <junkio@cox.net>2007-01-17 10:53:31 -0800
commit428ddc5de64684ad37d20c563544f17993a4d58d (patch)
treebe5f9bb689c412109e8568fe4a254a3c6eb0659d /Documentation/repository-layout.txt
parentdf59afe3eb121e89195e246105dd53de0ec396ab (diff)
downloadgit-428ddc5de64684ad37d20c563544f17993a4d58d.tar.gz
git-428ddc5de64684ad37d20c563544f17993a4d58d.tar.xz
Documentation: describe shallow repository
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/repository-layout.txt')
-rw-r--r--Documentation/repository-layout.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/repository-layout.txt b/Documentation/repository-layout.txt
index 7c8c14141..f9370d25b 100644
--- a/Documentation/repository-layout.txt
+++ b/Documentation/repository-layout.txt
@@ -18,6 +18,8 @@ could have only commit objects without associated blobs and
trees this way, for example. A repository with this kind of
incomplete object store is not suitable to be published to the
outside world but sometimes useful for private repository.
+. You also could have an incomplete but locally usable repository
+by cloning shallowly. See gitlink:git-clone[1].
. You can be using `objects/info/alternates` mechanism, or
`$GIT_ALTERNATE_OBJECT_DIRECTORIES` mechanism to 'borrow'
objects from other object stores. A repository with this kind
@@ -162,3 +164,9 @@ logs/refs/heads/`name`::
logs/refs/tags/`name`::
Records all changes made to the tag named `name`.
+
+shallow::
+ This is similar to `info/grafts` but is internally used
+ and maintained by shallow clone mechanism. See `--depth`
+ option to gitlink:git-clone[1] and gitlink:git-fetch[1].
+