Re: git rebase +
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 13, 2011, 13:21 UTC
- Message-ID
- <4E96E5E1.7010103@viscovery.net>
- In-Reply-To
- <loom.20111013T134405-495@post.gmane.org>
Am 10/13/2011 13:48, schrieb Adam Piatyszek:
Show 8 quoted lines
> In the middle of "git rebase --continue" process I hit Ctrl+C today to break > this operation. When I tried to replay the same command it errors out with the > following problem: > /project/dfttools/libexec/git-core/git-rebase--interactive: line 650: > /home/ediap/project.git/.git/rebase-merge/author-script: No such file or > directory > > Is this an expected behavior?
Hitting Ctrl-C during git-rebase results undefined behavior. git-rebase is a shell script and was never designed to operate in any form of atomicity.
You should have let it run until it stopped. Then you could have said 'git rebase --abort' (if it didn't complete) or 'git reset --hard ORIG_HEAD' (if it completed).
-- Hannes