Re: git reflog --date
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 21, 2014, 18:06 UTC
- Message-ID
- <xmqq8uk91emg.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAHQ6N+rb6eNC0_uzCAdH-HNb_SmdG4-W9DgmVKjfNpRcKKxk=w@mail.gmail.com>
John Tapsell <johnflux@gmail.com> writes:
Show 8 quoted lines
> For me, writing "git reflog @{now}" is a lot less intuitive than "git
> reflog --date"
>
> Currently the top google search for this question is here:
>
> http://stackoverflow.com/questions/17369254/is-there-a-way-to-cause-git-reflog-to-show-a-date-alongside-each-entry
>
> Which doesn't mention "@{now}" at all.I would say that a site where cluelesses attempt to lead other cluelesses is not the best source of information ;-), but that tells us that either our docs are not read by people or they do not give necessary information to them clearly enough.
Show 8 quoted lines
> My opinion:
>
> 1. Add --date as an option to reflog. Perhaps using the log.date
> format as the default.
> 2. Document --date in the man page for "git reflog"
> 3. Document @{now} in the man page for "git reflog"
>
> Sound good?The order of changes is questionable, but other than that, I think that would be a good way forward.