[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC mode and git
From: |
Steinar Bang |
Subject: |
Re: VC mode and git |
Date: |
Wed, 25 Mar 2015 09:40:04 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (windows-nt) |
>>>>> Richard Stallman <address@hidden>:
> I think that C-x v v, when it commits changes, should also push them.
> This would make git more comparable to other version control systems.
This completely breaks with the way git is expected to work.
> Does anyone see a reason not to?
Yes.
1. There may not be an upstream branch to push to, if this is a purely
local branch
2. The local git may not be able to contact the upstream server at the
commit time (the commit may be done offline or behind a firewall)
3. I may not want to push immediately, because what I do from a single
file is a partial part of the changes and they need to be complete
to work, so then I push when I have committed all of them and after
I've done a bit of testing
4. I may not want to push immediately for different reasons (I'm
waiting for someone else's changes to be committed and plan to merge
them into mine, before publishing them to someone else)
In short: git is distributed, this is a great advantage, and any move to
force it into a centralized workflow should be um... discouraged.
- Re: VC mode and git, (continued)
Re: VC mode and git,
Steinar Bang <=
Re: VC mode and git, Mark H Weaver, 2015/03/26