Re: General support for ! in git-config values
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 3, 2012, 06:11 UTC
- Message-ID
- <7vmx90say8.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAGZ=bq++R+X+2r2_zQ4UZ6JvDC9W9_4nF23MQ6+612_Qe2RS4Q@mail.gmail.com>
Kyle Moffett <kyle@moffetthome.net> writes:
Show 6 quoted lines
> Alternatively, you could extend the recent proposal for GIT config > "include" statements so that something like this works: > > [include] > exec = echo "deploy.prefix = `cat /etc/SERVER_ROLE`" > exec = /usr/local/bin/git-config-for-ldap-user
Erh...
Running known stuff from your own .git/config may be justifiable as "at your own risk", but if we consider sources that are not under your direct control, such as /etc/gitconfig and whatever your project encourages you to include from your .git/config,... eek.