help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-next-action or vc-dir, optionally allows to change the user?


From: Uwe Brauer
Subject: Re: vc-next-action or vc-dir, optionally allows to change the user?
Date: Fri, 24 Jun 2022 17:04:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

>> On 24.06.2022 16:20, Uwe Brauer wrote:

>> Try adding the "Author:" header at the top when writing the commit message.


> Thanks that works, however if want to say commit three or 4 changes
> this way, it would be nice to have this a bit more automatised.

> I debugged vc-checkin and can see where it grabs the user name and address. 

> Another approach would be to set the user variable locally for that
> repository to a different value. But this is not a lisp solution but
> one that depends on the underlying vc system


It seems that 

(setq log-edit-setup-add-author t)

Is a bit helpful

-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]