aboutsummaryrefslogtreecommitdiff
path: root/Documentation/repository-layout.txt
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-02-20 23:13:13 +0100
committerJunio C Hamano <gitster@pobox.com>2008-04-09 01:22:50 -0700
commitb44ebb19e3234c5dffe9869ceac5408bb44c2e20 (patch)
tree958b2cbe3274a0de21b3751c0caff511e5d4d783 /Documentation/repository-layout.txt
parent2a5fe2545882721d6841bad11dae0f15b454bf0d (diff)
downloadgit-b44ebb19e3234c5dffe9869ceac5408bb44c2e20.tar.gz
git-b44ebb19e3234c5dffe9869ceac5408bb44c2e20.tar.xz
Add platform-independent .git "symlink"
This patch allows .git to be a regular textfile containing the path of the real git directory (prefixed with "gitdir: "), which can be useful on platforms lacking support for real symlinks. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/repository-layout.txt')
-rw-r--r--Documentation/repository-layout.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/repository-layout.txt b/Documentation/repository-layout.txt
index 693913009..bbaed2e12 100644
--- a/Documentation/repository-layout.txt
+++ b/Documentation/repository-layout.txt
@@ -3,7 +3,10 @@ git repository layout
You may find these things in your git repository (`.git`
directory for a repository associated with your working tree, or
-`'project'.git` directory for a public 'bare' repository).
+`'project'.git` directory for a public 'bare' repository. It is
+also possible to have a working tree where `.git` is a plain
+ascii file containing `gitdir: <path>`, i.e. the path to the
+real git repository).
objects::
Object store associated with this repository. Usually