git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Chinmoy Chakraborty <chinmoy12c@gmail.com>
Date
Mar 29, 2021, 06:02 UTC
Message-ID
<98c196c4-31ff-4df1-9215-77d115771583@gmail.com>
In-Reply-To
<6a9d24a9-6942-97fc-550f-6b9b61264a78@gmail.com>
On 3/29/21 10:55 AM, Bagas Sanjaya wrote:
> Is date format parsing specific to git commit? If so, then
> why not date-formats.txt be merged to `DATE FORMATS` section
> of git-commit documentation?
It is already included below the `COMMIT INFORMATION` section.
> Also, what commit this `--date`
> option first appeared before you write this documentation?

I guess it was introduced in commit a8aca418d6484400d6804e22717bd49ca06c28e9.

Show 8 quoted lines
>
>> +`tea`::
>> +    Change commit time to 17:00(tea time). If the current
>> +    time is less than 17:00, the time will be set to 17:00
>> +    on the previous day, else it will be set to 17:00 on
>> +    the same day.
> How useful is this argument?
>
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.

See : https://github.com/git/git/commit/a8aca418d6484400d6804e22717bd49ca06c28e9

Previous: Bagas SanjayaNext: Bagas Sanjaya
Message 4 of 9 in “Documentation: updated documentation for git commit --date”
  1. Documentation: updated documentation for git commit --dateChinmoy via GitGitGadget, Mar 28, 2021
  2. Documentation: updated documentation for git commit --dateChinmoy via GitGitGadget, Mar 28, 2021
  3. Bagas SanjayaMar 29, 2021
  4. Chinmoy ChakrabortyMar 29, 2021
  5. Bagas SanjayaMar 29, 2021
  6. Chinmoy ChakrabortyMar 29, 2021
  7. Junio C HamanoMar 29, 2021
  8. Chinmoy ChakrabortyMar 30, 2021
  9. Junio C HamanoMar 30, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.