Re: [PATCH v3 10/25] Add new environment variable $GIT_COMMON_DIR

2014-02-26 Thread Duy Nguyen
On Thu, Feb 27, 2014 at 6:58 AM, Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > >> Note that logs/refs/.tmp-renamed-log is used to prepare new reflog >> entry and it's supposed to be on the same filesystem as the target >> reflog file. This is not guaranteed true for logs/HEAD when it's

Re: [PATCH v3 10/25] Add new environment variable $GIT_COMMON_DIR

2014-02-26 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > Note that logs/refs/.tmp-renamed-log is used to prepare new reflog > entry and it's supposed to be on the same filesystem as the target > reflog file. This is not guaranteed true for logs/HEAD when it's > mapped to repos/xx/logs/HEAD because the user can put "repos

Re: [PATCH v3 10/25] Add new environment variable $GIT_COMMON_DIR

2014-02-26 Thread Eric Sunshine
On Wed, Feb 26, 2014 at 5:55 AM, Duy Nguyen wrote: > On Wed, Feb 26, 2014 at 8:24 AM, Eric Sunshine > wrote: >>> +'GIT_COMMON_DIR':: >>> + If this variable is set to a path, non-worktree files that are >>> + normally in $GIT_DIR will be taken from this path >>> + instead. Workt

Re: [PATCH v3 10/25] Add new environment variable $GIT_COMMON_DIR

2014-02-26 Thread Eric Sunshine
On Wed, Feb 26, 2014 at 11:12 AM, Philip Oakley wrote: > From: "Duy Nguyen" >> On Wed, Feb 26, 2014 at 8:24 AM, Eric Sunshine >> wrote: +'GIT_COMMON_DIR':: + If this variable is set to a path, non-worktree files that are + normally in $GIT_DIR will be taken from t

Re: [PATCH v3 10/25] Add new environment variable $GIT_COMMON_DIR

2014-02-26 Thread Philip Oakley
From: "Duy Nguyen" On Wed, Feb 26, 2014 at 8:24 AM, Eric Sunshine wrote: +'GIT_COMMON_DIR':: + If this variable is set to a path, non-worktree files that are + normally in $GIT_DIR will be taken from this path + instead. Worktree-specific files such as HEAD or index are +

Re: [PATCH v3 10/25] Add new environment variable $GIT_COMMON_DIR

2014-02-26 Thread Duy Nguyen
On Wed, Feb 26, 2014 at 8:24 AM, Eric Sunshine wrote: >> +'GIT_COMMON_DIR':: >> + If this variable is set to a path, non-worktree files that are >> + normally in $GIT_DIR will be taken from this path >> + instead. Worktree-specific files such as HEAD or index are >> + taken

Re: [PATCH v3 10/25] Add new environment variable $GIT_COMMON_DIR

2014-02-25 Thread Eric Sunshine
On Tue, Feb 18, 2014 at 8:39 AM, Nguyễn Thái Ngọc Duy wrote: > This variable is intended to support multiple working directories > attached to a repository. Such a repository may have a main working > directory, created by either "git init" or "git clone" and one or more > linked working directori

[PATCH v3 10/25] Add new environment variable $GIT_COMMON_DIR

2014-02-18 Thread Nguyễn Thái Ngọc Duy
This variable is intended to support multiple working directories attached to a repository. Such a repository may have a main working directory, created by either "git init" or "git clone" and one or more linked working directories. These working directories and the main repository share the same r