[Top][All Lists]

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

Re: VC mode and git

From: Stephen J. Turnbull
Subject: Re: VC mode and git
Date: Wed, 25 Mar 2015 09:41:07 +0900

Eli Zaretskii writes:

 > Users whose workflow is not DWIM should never use "C-x v v".

"DWIM" is not a partial function with values of "I" bound to "Eli
Zaretskii" (and not "RMS", for that matter).  And in fact, many users
have more than one workflow.  If you're a core developer on one
project, and J. Random Committer on another, you may have a rather
branchy workflow on one, and a "lots of one-off commit-and-pushes"
workflow on the other.

It never hurts to commit more often than you push, and many DVCS users
take advantage of that capability.  Currently C-x v v serves both "I
only commit when I push" and "commit early, commit often" workflows.
It doesn't serve the former as well as it could.  But if you make the
change Richard proposed, it doesn't serve the latter at all.

If you make the "if uncommitted changes then commit else push" change,
I suspect it will embarrass users of branchy workflows frequently.
Currently C-x v v is a no-op if there are no uncommitted changes.  With
the proposed change in workflow, it will push what is most likely an
in-progress state of the tree.

reply via email to

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