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

Previous Next

Package: guix-patches;

Reported by: Mekeor Melire <mekeor <at> posteo.de>

Date: Sun, 7 May 2023 10:50:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63346 in the body.
You can then email your comments to 63346 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63346; Package guix-patches. (Sun, 07 May 2023 10:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mekeor Melire <mekeor <at> posteo.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 07 May 2023 10:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mekeor Melire <mekeor <at> posteo.de>
To: guix-patches <at> gnu.org
Subject: [PATCH] Makefile.am: Use --add flag to "git config".
Date: Sun,  7 May 2023 10:43:41 +0000
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
 
 nodist_noinst_DATA = .git/hooks/pre-push .git/config

base-commit: fccb48d2cec6bcf47647c82914f31e2dff617f9c
-- 
2.39.2






Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sun, 07 May 2023 13:21:02 GMT) Full text and rfc822 format available.

Notification sent to Mekeor Melire <mekeor <at> posteo.de>:
bug acknowledged by developer. (Sun, 07 May 2023 13:21:02 GMT) Full text and rfc822 format available.

Message #10 received at 63346-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Mekeor Melire <mekeor <at> posteo.de>
Cc: 63346-done <at> debbugs.gnu.org
Subject: Re: bug#63346: [PATCH] Makefile.am: Use --add flag to "git config".
Date: Sun, 07 May 2023 09:20:22 -0400
Hi,

Mekeor Melire <mekeor <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 05 Jun 2023 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 324 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.