From: Matthieu Moy Date: Wed, 24 Mar 2010 13:43:26 GMT Subject: Re: GIT_ONE_FILESYSTEM inclusion? Message-ID: In-Reply-To: <81b0412b1003240437n799bac07sb74db749d647817d@mail.gmail.com> Alex Riesen writes: > On Wed, Mar 24, 2010 at 10:35, Johannes Sixt wrote: >> Am 3/24/2010 10:29, schrieb Alex Riesen: >>> And while at it, how about making it a config option? (i.e. core.oneFilesystem?) >> >> It's difficult to have this as a config option when you are looking for a >> repository... ;) >> > > Isn't it a little pointless to look for repository when you can't > access its config? I guess Johannes's point is that the config option can be in $GIT_DIR/config, which you can't access when looking for $GIT_DIR. OTOH, looking at ~/.gitconfig to find a core.oneFilesystem makes sense (but is probably painfull to implement since the current code to parse config file will look for $GIT_DIR first). -- Matthieu Moy http://www-verimag.imag.fr/~moy/