|
|
Subscribe / Log in / New account

Including the commit date in the reference

Including the commit date in the reference

Posted Dec 15, 2024 15:43 UTC (Sun) by mgedmin (subscriber, #34497)
In reply to: Including the commit date in the reference by alx.manpages
Parent article: Facing the Git commit-ID collision catastrophe

This is pretty similar to the builtin `git log --pretty=ref`, about which I only learned recently and by accident.


to post comments

Including the commit date in the reference

Posted Dec 16, 2024 23:06 UTC (Mon) by alx.manpages (subscriber, #145117) [Link]

I actually learned about --pretty=reference when reading the documentation for implementing my `git ref` alias. :)

I didn't like it though. The author date is useless, as it doesn't serve to find a commit in the log. Also, I prefer having quotes around the subject.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds