Re: [PATCH v4 10/27] Add new environment variable $GIT_COMMON_DIR
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Mar 3, 2014, 07:29 UTC
- Message-ID
- <CAPig+cSq0nRWC97_7L+nBuiKdDjPtOkP3x=5u2a5cvONgwyMRg@mail.gmail.com>
- In-Reply-To
- <1393675983-3232-11-git-send-email-pclouds@gmail.com>
On Sat, Mar 1, 2014 at 7:12 AM, Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
Show 16 quoted lines
> 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 repository directory. > --- > diff --git a/Documentation/gitrepository-layout.txt b/Documentation/gitrepository-layout.txt > index aa03882..10672a1 100644 > --- a/Documentation/gitrepository-layout.txt > +++ b/Documentation/gitrepository-layout.txt > @@ -46,6 +46,9 @@ of incomplete object store is not suitable to be published for > use with dumb transports but otherwise is OK as long as > `objects/info/alternates` points at the object stores it > borrows from. > ++ > +This directory is ignored $GIT_COMMON_DIR is set and
s/ignored \$/ignored if $/g
Note the /g since this error is repeated throughout the rest of the gitrepository-layout.txt patch.
> +"$GIT_COMMON_DIR/objects" will be used instead. > > objects/[0-9a-f][0-9a-f]:: > A newly created object is stored in its own file.