pretty placeholders for reflog entries
- From
Jack Nagel <jacknagel@gmail.com>
- Date
- Nov 7, 2011, 05:49 UTC
- Message-ID
- <CAMYxyaWPWVGUHz0qQOnARb9wexHCx73a04Bu_UhrJR=xrinX7g@mail.gmail.com>
I have the reflog enabled on a bare repo so that I can have a record of "who pushed what, when". I'd like to define a custom pretty format for use with "git log -g" for reading it, but unfortunately the placeholders for reflog information are somewhat limited. In particular, I'd like to be able to access the identity (i.e., name and email) and date from each reflog entry.
Is it possible to extract this information in current git? Perhaps I overlooked something.
I suppose it would be simple enough to just write a script to parse the reflog file(s), but it would be nice to be able to do this with git itself.
Thanks.
Jack