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

Re: [PATCH] builtin-commit: add --date option

From
Jeff King <peff@peff.net>
Date
Dec 2, 2009, 22:22 UTC
Message-ID
<20091202222257.GA9691@coredump.intra.peff.net>
In-Reply-To
<20091202221232.GF31763@genesis.frugalware.org>
On Wed, Dec 02, 2009 at 11:12:32PM +0100, Miklos Vajna wrote:
> No, I want to set it to two days ago, for example when I forgot to
> commit at the end of the day and I notice it two days later before I
> start to work on something again.

OK. I think you are being overly meticulous about your commit date, but that is your right. ;)

Show 6 quoted lines
> > Also, is there a good reason why GIT_AUTHOR_DATE is not respected in
> > this case?  If not, should we simply be fixing that bug instead?
> 
> GIT_AUTHOR_DATE is respected by --reset-author, just given that we have
> --author already, using environment variables for a user can be
> uncomfortable.
OK, I can agree with that reasoning.
-Peff
Previous: Miklos Vajna
Message 12 of 12 in “builtin-commit: add --date option”
  1. builtin-commit: add --date optionMiklos Vajna, Dec 1, 2009
  2. Miklos VajnaDec 2, 2009
  3. Junio C HamanoDec 2, 2009
  4. Junio C HamanoDec 2, 2009
  5. Miklos VajnaDec 2, 2009
  6. Jeff KingDec 2, 2009
  7. Miklos VajnaDec 2, 2009
  8. Jeff KingDec 2, 2009
  9. Junio C HamanoDec 2, 2009
  10. Miklos VajnaDec 2, 2009
  11. Miklos VajnaDec 2, 2009
  12. Jeff KingDec 2, 2009

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.