From: Shawn O. Pearce Date: Mon, 04 Feb 2008 02:00:32 GMT Subject: Re: [PATCH] Add platform-independent .git "symlink" Message-ID: <20080204020032.GI24004@spearce.org> In-Reply-To: <7vr6fto5oe.fsf@gitster.siamese.dyndns.org> Junio C Hamano wrote: > "Shawn O. Pearce" writes: > > > > I would suggest a slightly different name, "GIT_DIR: ", as the > > line prefix, because the environment variable is also GIT_DIR. > > > > But that's just me. > > I think that was modelled after symref HEAD that would point at > the real ref with "ref: refs/heads/master", as if you have a > symlink whose value is "refs/heads/master". So reusing "ref: " > might be Ok, and saying "directory: " or "gitdir: " would be > also Ok. > > If we would want to reuse the mechanism in the future to allow > symlink challenged systems to use it in contrib/workdir/, we may > want to keep the name a bit more generic than "gitdir: ". I could easily get behind "gitdir: " or "directory: ". Both are all lowercase, and thus look a lot like "ref: ", which already has been in heavy use for quite some time. But "GITDIR: " isn't very close to GIT_DIR (its environment based sister) or "ref: " (its file based very-distant cousin). As a bike-shed painter I like to keep colors matching when possible. :-) -- Shawn.