diff options
author | Junio C Hamano <junkio@cox.net> | 2007-01-17 10:53:31 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-17 10:53:31 -0800 |
commit | 428ddc5de64684ad37d20c563544f17993a4d58d (patch) | |
tree | be5f9bb689c412109e8568fe4a254a3c6eb0659d /Documentation/repository-layout.txt | |
parent | df59afe3eb121e89195e246105dd53de0ec396ab (diff) | |
download | git-428ddc5de64684ad37d20c563544f17993a4d58d.tar.gz |
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.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/repository-layout.txt b/Documentation/repository-layout.txt index 7c8c141419..f9370d25bb 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]. + |