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

Re: [PATCH] git-commit: add option --date-now

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Dec 21, 2011, 16:24 UTC
Message-ID
<vpqmxalrixy.fsf@bauges.imag.fr>
In-Reply-To
<20111221153837.GC2160@beez.lab.cmartin.tk>
Carlos Martín Nieto <cmn@elego.de> writes:
> I was surpised when I tried 'git commit --amend --date=now' that git
> didn't understand 'now' as a date, which seems like a more obvious
> place to fix it.
+1

I really don't think Git wants yet-another-option for each use-case we find, and accepting "now" as a date (either by hardcoding "now" as an accepted value, or by running approxidate on the argument of --date).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Carlos Martín NietoNext: Jeff King
Message 3 of 4 in “git-commit: add option --date-now”
  1. git-commit: add option --date-nowMichael Schubert, Dec 21, 2011
  2. Carlos Martín NietoDec 21, 2011
  3. Matthieu MoyDec 21, 2011
  4. Jeff KingDec 21, 2011

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.