Code

Add platform-independent .git "symlink"
authorLars Hjemli <hjemli@gmail.com>
Wed, 20 Feb 2008 22:13:13 +0000 (23:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Apr 2008 08:22:50 +0000 (01:22 -0700)
commitb44ebb19e3234c5dffe9869ceac5408bb44c2e20
tree958b2cbe3274a0de21b3751c0caff511e5d4d783
parent2a5fe2545882721d6841bad11dae0f15b454bf0d
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>
Documentation/repository-layout.txt
cache.h
environment.c
setup.c
t/t0002-gitfile.sh [new file with mode: 0755]