#977973 [debcommit] Please set GIT_{AUTHOR,COMMITTER}_EMAIL to $DEBEMAIL

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Guilhem Moulin
Date:
2020-12-23 15:36:04 UTC
Severity:
wishlist
#977973#5
Date:
2020-12-23 15:33:44 UTC
From:
To:
Package: devscripts
Version: 2.20.5
Severity: wishlist
File: /usr/bin/debcommit

Dear Maintainer,

Many of the devscripts tools honor the values of the DEBEMAIL and
DEBFULLNAME environment variables for attribution, however debcommit
ignores these AFAICT and follows the git-commit(1) semantics instead:
use $GIT_{AUTHOR,COMMITTER}_{EMAIL,NAME} when set, otherwise use the
result from `git config user.email` and `git config user.name`.

Please consider setting GIT_{AUTHOR,COMMITTER}_EMAIL resp.
GIT_{AUTHOR,COMMITTER}_NAME to $(DEB)EMAIL resp. $(DEBFULL)NAME by
default for consistency with dch and other tools.  Per Jelmer's
(X-Debbugs-Cc'ed) https://bugs.debian.org/977731#10 ,

| Would it make sense for e.g. debcommit to set GIT_COMMITTER_EMAIL to
| DEBEMAIL? Are there reasons why DEBEMAIL and GIT_COMMITTER_EMAIL
| should ever be different?

Thanks,
Cheers,