Re: StGIT and repo-config

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

 



Hi,

On Thu, 25 Jan 2007, Catalin Marinas wrote:

> What I'd like it to have is a single initial call to git-repo-config 
> --list (in config_setup) and all the options cached in a dictionary (so 
> that .git/config options would override the global ~/.gitconfig ones). 
> The dictionary should also be pre-populated with the default values 
> (only in memory, not going to the config file on disk).

There was another thread, a few days ago, where Jakub proposed an 
alternative config parser in Perl. Eric Wong even wrote a rather large 
patch to automatically generate _source_ code for Perl, Python and Ruby.

I then proposed to have a simple --dump option to repo-config, which 
outputs NUL separated key/value pairs (substituting "true" for keys 
without -- not with empty! -- values). But somehow the discussion petered 
out before anything came out of it.

The most important point (to me) which came out of the discussion: It is 
not at all easy, or straight-forward, to handle multi-vars, i.e. multiple 
values for the same key.

Ciao,
Dscho

-
To unsubscribe from this list: 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]