[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC mode and git
From: |
Eli Zaretskii |
Subject: |
Re: VC mode and git |
Date: |
Tue, 24 Mar 2015 22:18:52 +0200 |
> Date: Tue, 24 Mar 2015 15:56:38 -0400
> From: "Eric S. Raymond" <address@hidden>
> Cc: Sebastien Vauban <address@hidden>, address@hidden
>
> Eli Zaretskii <address@hidden>:
> > 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? 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?
>
> That's an interesting idea. And certainly doable.
>
> Whether it's really DWIM depends on what workflow git's primitives are being
> used to implement. It makes the most sense if the relationship between the
> local and remote repo is the simplest one - the local repo is essentially
> a cache for the remote, and nobody else pushes to that remote.
>
> It makes less sense if other people are pushing to the remote. You wander
> into several complications here; one is that the remote may reject the push
> due to it not being a fast-forward from the repo tip. There are
> workflow-sensitive choices about what to do in this situation and thus no
> one right thing for VC to do here.
So perhaps there should be a defcustom that would switch between
several popular workflows, and "C-x v v" could then support each one
of them, when chosen.
- Re: VC mode and git, (continued)
- Re: VC mode and git, Richard Stallman, 2015/03/28
- Re: VC mode and git, Eli Zaretskii, 2015/03/28
- Re: VC mode and git, Richard Stallman, 2015/03/29
- Re: VC mode and git, Richard Stallman, 2015/03/28
- Re: VC mode and git, Barry Warsaw, 2015/03/28
- Re: VC mode and git, Eric S. Raymond, 2015/03/24
- Re: VC mode and git,
Eli Zaretskii <=
- Re: VC mode and git, Eric S. Raymond, 2015/03/24
- Re: VC mode and git, chad, 2015/03/24
- Re: VC mode and git, Eli Zaretskii, 2015/03/24
- Re: VC mode and git, Jan D., 2015/03/25
- Re: VC mode and git, Eli Zaretskii, 2015/03/25
- Re: VC mode and git, Jan D., 2015/03/25
- Re: VC mode and git, Eli Zaretskii, 2015/03/25
- Re: VC mode and git, Eric S. Raymond, 2015/03/25
- Re: VC mode and git, Stefan Monnier, 2015/03/25
- Re: VC mode and git, Eli Zaretskii, 2015/03/25