Re: add comments to reflog?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]