login
Header Space

 
 

Re: [PATCH] Support environment variables in config file

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Martin Waitz <tali@...>
Cc: Matthias Lederhofer <matled@...>, <git@...>
Date: Monday, June 4, 2007 - 11:57 am

Hi,

On Mon, 4 Jun 2007, Martin Waitz wrote:


I actually would like it more if the calling program did the interpolation 
itself.

So, for example if you want a script to access whatever.my.url, and want 
to allow to interpolate any environment variable, why not

	url=$(eval $(git config whatever.my.url))

I am just hesitant to change the existing behaviour, and possibly 
introduce weird breakages. (There could even be some unwanted env leakages 
in programs like gitweb...)

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Support environment variables in config file, Martin Waitz, (Sun Jun 3, 6:37 pm)
Re: [PATCH] Support environment variables in config file, Matthias Lederhofer, (Mon Jun 4, 1:34 am)
Re: [PATCH] Support environment variables in config file, Johannes Schindelin, (Mon Jun 4, 11:57 am)
Re: [PATCH] Support environment variables in config file, Johannes Schindelin, (Mon Jun 4, 1:59 pm)
Re: [PATCH] Support environment variables in config file, Matthias Lederhofer, (Mon Jun 4, 4:44 am)
speck-geostationary