1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00

Update email in vc-tests and vc-git-tests

* test/lisp/vc/vc-git-tests.el (vc-git-test--with-repo): Use
example.com, domain following RFC 2606.
* test/lisp/vc/vc-tests/vc-tests.el
(vc-test--with-author-identity): Use example.com, domain
following RFC 2606.
This commit is contained in:
Przemysław Kryger 2025-12-09 14:06:19 +00:00 committed by Michael Albinus
parent 0f3947b379
commit 5731343ffe
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ allow `git commit' to determine identities for authors and committers."
(declare (indent 1))
`(ert-with-temp-directory ,name
(let ((default-directory ,name)
(process-environment (append '("EMAIL=john@doe.ee"
(process-environment (append '("EMAIL=john.doe@example.com"
"GIT_AUTHOR_NAME=A"
"GIT_COMMITTER_NAME=C")
process-environment)))

View file

@ -604,7 +604,7 @@ This checks also `vc-backend' and `vc-responsible-backend'."
;; Eg if the user account has no GECOS, git commit can fail with
;; status 128 "fatal: empty ident name".
(when (memq ,backend '(Bzr Git))
(push "EMAIL=john@doe.ee" process-environment))
(push "EMAIL=joh.doe@example.com" process-environment))
(when (eq ,backend 'Git)
(setq process-environment (append '("GIT_AUTHOR_NAME=A"
"GIT_COMMITTER_NAME=C")