From d5438e72df251a87503b124c5e0a08a37447817a Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Mon, 9 Dec 2024 14:26:23 +0000 Subject: [PATCH] tests/push-refs.t: Set committer name when making a tag. Otherwise git will grab it from ~/.gitconfig, or fail if it's not there, both of which are wrong for reproducible tests. fix https://github.com/glandium/git-cinnabar/issues/339 --- tests/push-refs.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/push-refs.t b/tests/push-refs.t index 1e4248c9d..34b7ab2f2 100755 --- a/tests/push-refs.t +++ b/tests/push-refs.t @@ -375,7 +375,7 @@ Removing heads or branches is not supported. Pushing/deleting tags is not supported. - $ git -C repo-git -c user.email=foo@bar tag -m 'Tagged' the-tag + $ git -C repo-git -c user.name=foo -c user.email=foo@bar tag -m 'Tagged' the-tag $ git -C repo-git push origin --tags To hg::.*/push-refs.t/repo-from-git (re) ! [remote rejected] the-tag -> the-tag (Pushing tags is unsupported)