mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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>
This commit is contained in:
parent
4cf4dcb8b3
commit
75aba5a746
1 changed files with 2 additions and 1 deletions
|
@ -1167,7 +1167,8 @@ cuirass-jobs: $(GOBJECTS)
|
||||||
|
|
||||||
.git/config: etc/git/gitconfig
|
.git/config: etc/git/gitconfig
|
||||||
$(AM_V_at)if command -v git >/dev/null && test -d .git; then \
|
$(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
|
fi
|
||||||
|
|
||||||
COMMIT_MSG_MAGIC = VGhpcyBpcyB0aGUgY29tbWl0LW1zZyBob29rIG9mIEd1aXg=
|
COMMIT_MSG_MAGIC = VGhpcyBpcyB0aGUgY29tbWl0LW1zZyBob29rIG9mIEd1aXg=
|
||||||
|
|
Loading…
Reference in a new issue