Re: [BUG] git reflog on a tag tries to do something unexpected
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Apr 19, 2013, 11:31 UTC
- Message-ID
- <CACsJy8BfgQXVQpNNUfqY0-0srpm1Lq8rHyB4gFkZ10UJ+Yii5Q@mail.gmail.com>
- In-Reply-To
- <20130419090819.40f7c071@chalon.bertin.fr>
On Fri, Apr 19, 2013 at 5:08 PM, Yann Dirson <dirson@bertin.fr> wrote:
Show 6 quoted lines
> git reflog, when applied to a tag, should surely bail out saying there is reflog > for the requested reference. However, instead it spits out a single line of > abbreviated sha1's of an ancestry walk: > > $ git reflog --decorate v1.8.2.1 > 5bda18c (tag: v1.8.2.1) 6466fbb 2137ce0 (tag: v1.8.1.6) 4bbb830 0e9b327 ...
Also "git reflog --decorate origin/master^{}" should have bailed out instead of printing nothing.
-- Duy