emacs-devel
[Top][All Lists]
Advanced

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

Re: On the adoption of transient.el


From: Juri Linkov
Subject: Re: On the adoption of transient.el
Date: Fri, 06 Aug 2021 02:17:07 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> > I'm not sure we've used up the potential of "C-x v v" for Git.
>>
>> The "C-x v v" workflow works for Git as far as you use Git as you use
>> CVS.
>
> Which is too little.  For example, the pull and push commands are part
> of every simple Git workflow, but "C-x v v" doesn't support them,
> AFAIK.  If you are going to claim that push and pull are not part of
> "using Git as you use CVS", then I will claim that your notion of
> using Git as CVS is pretty useless in practice.

This is already possible with something like this (untested!)

(advice-add 'vc-git-checkin
            :after (lambda (&rest _args)
                     (vc-git-push "Do you want to push it? ")))



reply via email to

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