Re: [PATCH] commit: do not switch branch during a rebase unless -f is given
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Sep 28, 2010, 11:24 UTC
- Message-ID
- <AANLkTi=upKKahxpu5918yxW+J6nHWMvPfonJNB=yuCTy@mail.gmail.com>
- In-Reply-To
- <1285649564-24737-1-git-send-email-pclouds@gmail.com>
Heya,
2010/9/28 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>:
> + die("You should not switch branch during a rebase. Use '-f' if you really want to.");On top of Junio's comments, I think it makes sense here to add "or use 'git rebase --abort' to abort the rebase that is in progress".
-- Cheers, Sverre Rabbelier