Re: [PATCH 0/2] Introduce ~/.gitconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 8 Jun 2006, Nikolai Weibull wrote:

> On 6/8/06, Sven Ekman <svekman@xxxxxxxx> wrote:
> > <Johannes.Schindelin@xxxxxx> skrev:
> > 
> > > There are three subjects for discussion:
> > 
> > Have you considered making ~/.gitconfig a directory?
> > Maybe Git wants to store more data later.
> 
> I second that.

I don't. What's wrong with the simple approach of a single config file? 
You can use a single tool for all the configuration, and do not need to 
care about anything.

After all, it is about _configuration_, not data storing. That is what 
$GIT_DIR/objects is for.

> And it'd be nice if it was configurable through an environment variable, 
> e.g., GIT_USER_CONFIG_HOME.

<sarcasm ignore=if-possible>
Let's see. AFAIK all programs I know (including cvs and vim, for 
one) have a fixed name. Hmm. Perhaps this is for a reason? Like, to reduce 
confusion?

Alternatively, we could introduce a config variable "core.globalConfig" to 
see where the global config is.
</sarcasm>

Ciao,
Dscho

-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]