Re: [PATCH 10/11] Introduce git_etc_gitconfig() that encapsulates access of ETC_GITCONFIG.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 13, 2007, 21:22 UTC
- Message-ID
- <Pine.LNX.4.64.0711132121440.4362@racer.site>
- In-Reply-To
- <1194984306-3181-11-git-send-email-johannes.sixt@telecom.at>
Hi,
On Tue, 13 Nov 2007, Johannes Sixt wrote:
Show 13 quoted lines
> diff --git a/config.c b/config.c
> index dc3148d..dd7e9ad 100644
> --- a/config.c
> +++ b/config.c
> @@ -452,6 +452,11 @@ int git_config_from_file(config_fn_t fn, const char *filename)
> return ret;
> }
>
> +const char *git_etc_gitconfig(void)
> +{
> + return ETC_GITCONFIG;
> +}
> +Wouldn't this logically belong into environment.c?
Ciao, Dscho