GNU bug report logs -
#63346
[PATCH] Makefile.am: Use --add flag to "git config".
Previous Next
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.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 07 May 2023 09:20:22 -0400
with message-id <87lei01dnt.fsf <at> gmail.com>
and subject line Re: bug#63346: [PATCH] Makefile.am: Use --add flag to "git config".
has caused the debbugs.gnu.org bug report #63346,
regarding [PATCH] Makefile.am: Use --add flag to "git config".
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
63346: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63346
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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
[Message part 3 (message/rfc822, inline)]
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
This bug report was last modified 2 years and 74 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.