From: Nguyễn Thái Ngọc Duy Date: Tue, 26 Jan 2016 11:44:42 GMT Subject: [PATCH v3 3/6] worktree: share .git/common in v1 Message-ID: <1453808685-21235-4-git-send-email-pclouds@gmail.com> In-Reply-To: <1453808685-21235-1-git-send-email-pclouds@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/gitrepository-layout.txt | 4 ++++ path.c | 1 + 2 files changed, 5 insertions(+) diff --git a/Documentation/gitrepository-layout.txt b/Documentation/gitrepository-layout.txt index 577ee84..771e362 100644 --- a/Documentation/gitrepository-layout.txt +++ b/Documentation/gitrepository-layout.txt @@ -250,6 +250,10 @@ commondir:: modules:: Contains the git-repositories of the submodules. +common:: + This directory is seen from all working directories. It is + meant to share files that all working directories can see. + worktrees:: Contains administrative data for linked working trees. Each subdirectory contains the working tree-related diff --git a/path.c b/path.c index 14adf5d..3b85968 100644 --- a/path.c +++ b/path.c @@ -124,6 +124,7 @@ static struct common_dir common_list_v0[] = { }; static struct common_dir common_list_v1[] = { + { 0, 1, 0, "common" }, { 0, 1, 0, "branches" }, { 0, 1, 0, "hooks" }, { 0, 1, 0, "info" }, -- 2.7.0.288.g1d8ad15