guix-patches
[Top][All Lists]
Advanced

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

bug#63346: [PATCH] Makefile.am: Use --add flag to "git config".


From: Maxim Cournoyer
Subject: bug#63346: [PATCH] Makefile.am: Use --add flag to "git config".
Date: Sun, 07 May 2023 09:20:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi,

Mekeor Melire <mekeor@posteo.de> writes:

> Without the "--add" flag to "git config include.path ...", the command fails
> if the user already has a configuration entry of "include.path".
> ---
>  Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 8af69f88ac..13718e4353 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1121,7 +1121,7 @@ cuirass-jobs: $(GOBJECTS)
>  
>  .git/config: etc/git/gitconfig
>       $(AM_V_at)if command -v git >/dev/null && test -d .git; then \
> -     git config include.path ../etc/git/gitconfig; \
> +     git config --add include.path ../etc/git/gitconfig; \
>       fi

Installed, thank you!

-- 
Thanks,
Maxim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]