Re: [PATCH] config: Add --quoted option to produce machine-parsable output

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

 



Hi,

On Mon, 21 May 2007, Junio C Hamano wrote:

> Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes:
> 
> >> Git.pm could simply do:
> >> 
> >> 	my $eval = `git config --perl --get-regexp 'gitcvs\..*'`;
> >> 	my $cfg = eval "$eval";
> >> 
> >> if you code your "perl" notation to produce:
> >> 
> >> 	+{
> >> 		'gitcvs.ext.enabled' => 'false',
> >>                 'gitcvs.logfile' => '/var/log/gitcvs.log',
> >> 	}
> >> 
> >> in order to read things in.
> >> 
> >> Hmm?
> >
> > IOW, something like 
> > http://article.gmane.org/gmane.comp.version-control.git/36922
> 
> Indeed (perhaps except fixing minor details like not hijacking
> the variable name).  Care to resubmit with docs and tests?

Well, my version was not good, as Eric pointed out.

Do you want me to clean up Eric's version (according to my own comments, 
that is)?

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]

  Powered by Linux