Thread (6 messages) 6 messages, 3 authors, 2021-03-29

Re: [PATCH v2] Documentation: updated documentation for git commit --date

flat view

From: Bagas Sanjaya <hidden>
Date: 2021-03-29 11:12:07

On 29/03/21 13.02, Chinmoy Chakraborty wrote:
I think initially it was suggested as a joke, but actually implemented

to demonstrate the ability for users to include their own custom

time/date periods.
Hmmm...

The commit you mentioned (a8aca418d6484400d6804e22717bd49ca06c28e9)
said that:
    Thanks for pointing out tea-time.

    This is also written to easily extended to allow people to add their own
    important dates like Christmas and their own birthdays.
But it seems like the predefined dates/times were hard-coded, so to extend
--date option to allow more predefined date/times, Git sources need to
be edited.

Maybe we can make git config option (commit.predefined_times [FIXME: suggest
better name]) so user can easily add ones.

Also, I asked to you: can I set --date to arbitrary date (like 09/29/2009
19:59)?

[CC] Junio, what about this patch?

-- 
An old man doll... just what I always wanted! - Clara
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help