From: Dmitry Gutov <dgutov@yandex.ru>
To: help-gnu-emacs@gnu.org
Subject: Re: vc-next-action or vc-dir, optionally allows to change the user?
Date: Fri, 24 Jun 2022 16:36:24 +0300 [thread overview]
Message-ID: <a53eff9a-fada-4730-8394-f1e0ba212261@yandex.ru> (raw)
In-Reply-To: <87wnd6w63j.fsf@mat.ucm.es>
On 24.06.2022 16:20, Uwe Brauer wrote:
>
> Hi
>
> Recently I have to commit (using hg, but this should be irrelevant here)
> changes as another user, so usually I tried
>
>
> (defun my-set-new-user ()
> "Set the user for the commit and ChangLog entries to new user."
> (interactive)
> (setq user-full-name "James Bond")
> (setq add-log-full-name "James Bond")
> (setq user-mail-address"007@mi6.co.uk")
> (setq add-log-mailing-address"007@mi6.co.uk")
> (message "Now changes are registered as JB"))
>
> But it did not help.
>
> Any idea how to change the user and email address for the commit
> message?
>
> I can commit explicitly from the command line as a new user, but that is
> a bit cumbersome.
>
> Regards
>
> Uwe Brauer
Try adding the "Author:" header at the top when writing the commit message.
next prev parent reply other threads:[~2022-06-24 13:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-24 13:20 vc-next-action or vc-dir, optionally allows to change the user? Uwe Brauer
2022-06-24 13:36 ` Dmitry Gutov [this message]
2022-06-24 14:26 ` Uwe Brauer
2022-06-24 15:00 ` Dmitry Gutov
2022-06-24 15:12 ` [a bug, with log-edit-setup-add-author?] (was: vc-next-action or vc-dir, optionally allows to change the user?) Uwe Brauer
2022-06-24 15:24 ` [culprit found] (was: [a bug, with log-edit-setup-add-author?]) Uwe Brauer
2022-06-24 15:04 ` vc-next-action or vc-dir, optionally allows to change the user? Uwe Brauer
2022-06-24 15:32 ` Jean Louis
2022-06-24 15:46 ` Uwe Brauer
2022-06-25 6:49 ` Jean Louis
2022-06-25 9:45 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a53eff9a-fada-4730-8394-f1e0ba212261@yandex.ru \
--to=dgutov@yandex.ru \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).