# [BUG] git reflog on a tag tries to do something unexpected

2 messages from 2013-04-19 to 2013-04-19. Participants: Yann Dirson, Duy Nguyen.
Thread: https://gitlist.dev/t/33543

## Yann Dirson, 2013-04-19 07:08

Subject: [BUG] git reflog on a tag tries to do something unexpected
Message-ID: <20130419090819.40f7c071@chalon.bertin.fr>
URL: https://gitlist.dev/e/20130419090819.40f7c071%40chalon.bertin.fr

```
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 ...


-- 
Yann Dirson - Bertin Technologies

```

## Duy Nguyen, 2013-04-19 11:31

Subject: Re: [BUG] git reflog on a tag tries to do something unexpected
Message-ID: <CACsJy8BfgQXVQpNNUfqY0-0srpm1Lq8rHyB4gFkZ10UJ+Yii5Q@mail.gmail.com>
URL: https://gitlist.dev/e/CACsJy8BfgQXVQpNNUfqY0-0srpm1Lq8rHyB4gFkZ10UJ%2BYii5Q%40mail.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:
> 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

```
