* add comments to reflog?
@ 2009-05-13 10:35 Michael S. Tsirkin
2009-05-13 12:08 ` Michael J Gruber
0 siblings, 1 reply; 2+ messages in thread
From: Michael S. Tsirkin @ 2009-05-13 10:35 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: add comments to reflog?
2009-05-13 10:35 add comments to reflog? Michael S. Tsirkin
@ 2009-05-13 12:08 ` Michael J Gruber
0 siblings, 0 replies; 2+ messages in thread
From: Michael J Gruber @ 2009-05-13 12:08 UTC (permalink / raw)
To: Michael S. Tsirkin; +Cc: git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-13 12:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13 10:35 add comments to reflog? Michael S. Tsirkin
2009-05-13 12:08 ` Michael J Gruber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).