me
/
guix
Archived
1
0
Fork 0

build: Avoid git config 'include' duplicates.

* Makefile.am (.git/config): Invoke git config --replace-all with a
value-pattern instead of --add.

Change-Id: Id6e19b15d3772105128eb9b48d0f4e039ae3d988
Reported-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
master
Maxim Cournoyer 2023-10-22 18:00:32 -04:00
parent 4cf4dcb8b3
commit 75aba5a746
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 2 additions and 1 deletions

View File

@ -1167,7 +1167,8 @@ cuirass-jobs: $(GOBJECTS)
.git/config: etc/git/gitconfig
$(AM_V_at)if command -v git >/dev/null && test -d .git; then \
git config --add include.path ../etc/git/gitconfig; \
git config --fixed-value --replace-all include.path \
../etc/git/gitconfig ../etc/git/gitconfig;
fi
COMMIT_MSG_MAGIC = VGhpcyBpcyB0aGUgY29tbWl0LW1zZyBob29rIG9mIEd1aXg=