Re: git rebase -i and the reflog
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Feb 10, 2010, 22:26 UTC
- Message-ID
- <fabb9a1e1002101426p41cba90dw5b3d4afdfb157b5c@mail.gmail.com>
- In-Reply-To
- <7v3a183f3q.fsf@alter.siamese.dyndns.org>
Heya,
On Wed, Feb 10, 2010 at 23:23, Junio C Hamano <gitster@pobox.com> wrote:
> Yes and no. I too suffer from it but only when I rebase a detached HEAD
> state. If you rebased a topic, "git diff topic@{1}" (or "git diff @{1}")
> would give you what you want.Ah, mhh, so the reason I'm seeing this cruft is that I'm using 'HEAD@' instead of 'topic@'. It only makes sense that HEAD's reflog includes every commit, and a topic's reflog includes just that topics. Thanks for the quick reply, this'll make my life a bunch easier :).
-- Cheers, Sverre Rabbelier