|
From: | Dmitry Gutov |
Subject: | Re: VC mode and git |
Date: | Tue, 24 Mar 2015 23:18:01 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 |
On 03/24/2015 09:15 PM, Eli Zaretskii wrote:
A related question is: does "C-x v v" at all make sense with Git and other dVCSes? If it does, what would be the DWIM cycle there?
It's only slightly difference from what we have. For VCSes with a staging area (which would have to be displayed separately), the cycle would be unstaged -> staged -> commit.
The details would need working out, though. Like, whether "C-x v v" would do something in a file buffer other than displaying the vc-dir buffer.
E.g., would it make sense for "C-x v v" to push when the previous action was commit and there are not uncommitted changes?
After a prompt, maybe, like Chad suggested. But I don't know if we want to make this too easy: after all, when ChangeLogs are auto-generated, it might be better to somehow force the user to review the changes and messages before pushing.
However, if the "push now?" action would support that, maybe it'll be a good combination.
[Prev in Thread] | Current Thread | [Next in Thread] |