From: Junio C Hamano Date: Tue, 03 Nov 2020 00:21:53 GMT Subject: Re: [PATCH 1/4] rebase -i: stop overwriting ORIG_HEAD buffer Message-ID: In-Reply-To: "herr.kaste" writes: > Phillip pointed out that ORIG_HEAD is actually not save *if* there is > a `reset` or `rebase --skip` during the rebase. Otherwise, by design, > ORIG_HEAD would be easier to use, as in the form `@{}` > two things have to be decided and can go wrong. What "two"? You should be able to just say @{1} regardless---that was the whole point of performing all the intermediate steps while on the detached HEAD so that you can rely on being 1, and @{} is a short-hand of @{} for the current branch, and not a short-hand for HEAD@{...}, to help such a use case. Or am I missing something?