[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: |
Thu, 26 Mar 2015 18:59:17 +0200 |
> From: Tassilo Horn <address@hidden>
> Cc: Richard Stallman <address@hidden>, address@hidden, address@hidden,
> address@hidden
> Date: Thu, 26 Mar 2015 12:38:15 +0100
>
> In the same way, you could set up a git post-commit hook that pushes if
> you wish by placing a scipt with contents
>
> --8<---------------cut here---------------start------------->8---
> #!/bin/sh
> git push
> --8<---------------cut here---------------end--------------->8---
>
> in .git/hooks/post-commit/.
What happens if the commit succeed, but the push in the hook fails?
Will Git roll back the commit?
If not, then this isn't reallt a good emulation of bzr's bound
branches, because there a commit+push was an atomic operation: either
both succeeded, or none at all.
- Re: VC mode and git, (continued)
- Re: VC mode and git, Eli Zaretskii, 2015/03/26
- Re: VC mode and git, Paul Eggert, 2015/03/25
- Re: VC mode and git, Andreas Schwab, 2015/03/24
- Re: VC mode and git, Richard Stallman, 2015/03/25
- Re: VC mode and git, Andreas Schwab, 2015/03/25
- Re: VC mode and git, Eric S. Raymond, 2015/03/25
- Re: VC mode and git, Richard Stallman, 2015/03/26
- Re: VC mode and git, Richard Stallman, 2015/03/26
- Re: VC mode and git, Andreas Schwab, 2015/03/26
- Re: VC mode and git, Tassilo Horn, 2015/03/26
- Re: VC mode and git,
Eli Zaretskii <=
- Re: VC mode and git, Dmitry Gutov, 2015/03/26
- Re: VC mode and git, Eli Zaretskii, 2015/03/26
- Re: VC mode and git, Richard Stallman, 2015/03/27
- Re: VC mode and git, Eli Zaretskii, 2015/03/27
- 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, Stefan Monnier, 2015/03/28
- Re: VC mode and git, Richard Stallman, 2015/03/26
- Re: VC mode and git, Eli Zaretskii, 2015/03/27
- Re: VC mode and git, Stefan Monnier, 2015/03/27