From: Chinmoy Chakraborty Date: Mon, 29 Mar 2021 06:02:38 GMT Subject: Re: [PATCH v2] Documentation: updated documentation for git commit --date 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. > >> +`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