# add comments to reflog?

2 messages from 2009-05-13 to 2009-05-13. Participants: Michael S. Tsirkin, Michael J Gruber.
Thread: https://gitlist.dev/t/19337

## Michael S. Tsirkin, 2009-05-13 10:35

Subject: add comments to reflog?
Message-ID: <20090513103554.GC31593@redhat.com>
URL: https://gitlist.dev/e/20090513103554.GC31593%40redhat.com

```
I noticed that I am often doing this

hack commit hack commit  hack commit ...

git tag  -s works -m "works on xyz, must rewrite abc"
git reset --hard HEAD~1

hack ...

I only tag just in case I want to revisit the design.
However, after I reset, I often forget how did
I name the tag. It would be nice if reflog would
show tag descriptions, which it does not seem to.

Comments?


-- 
MST

```

## Michael J Gruber, 2009-05-13 12:08

Subject: Re: add comments to reflog?
Message-ID: <4A0AB828.5090205@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4A0AB828.5090205%40drmicha.warpmail.net
In-Reply-To: <20090513103554.GC31593@redhat.com>

```
Michael S. Tsirkin venit, vidit, dixit 13.05.2009 12:35:
> I noticed that I am often doing this
> 
> hack commit hack commit  hack commit ...
> 
> git tag  -s works -m "works on xyz, must rewrite abc"
> git reset --hard HEAD~1
> 
> hack ...
> 
> I only tag just in case I want to revisit the design.
> However, after I reset, I often forget how did
> I name the tag. It would be nice if reflog would
> show tag descriptions, which it does not seem to.
> 
> Comments?
> 
> 

I'm not sure about your exact requirements, but maybe

git log --tags --simplify-by-decoration

does something useful for you. Also remember gitk etc. which takes the
same arguments for commit selection (those of git-rev-list). I always
forget about the power of git-rev-list options when used with log and
gitk. Thanks for reminding me :)

Cheers,
Michael

```
