public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp•fr>
To: "Carlos Martín Nieto" <cmn@elego•de>
Cc: Michael Schubert <mschub@elegosoft•com>, git <git@vger•kernel.org>
Subject: Re: [PATCH] git-commit: add option --date-now
Date: Wed, 21 Dec 2011 17:24:57 +0100	[thread overview]
Message-ID: <vpqmxalrixy.fsf@bauges.imag.fr> (raw)
In-Reply-To: <20111221153837.GC2160@beez.lab.cmartin.tk> ("Carlos Martín Nieto"'s message of "Wed, 21 Dec 2011 15:38:37 +0000")

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/

  reply	other threads:[~2011-12-21 16:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 14:56 [PATCH] git-commit: add option --date-now Michael Schubert
2011-12-21 15:38 ` Carlos Martín Nieto
2011-12-21 16:24   ` Matthieu Moy [this message]
2011-12-21 20:25     ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpqmxalrixy.fsf@bauges.imag.fr \
    --to=matthieu.moy@grenoble-inp$(echo .)fr \
    --cc=cmn@elego$(echo .)de \
    --cc=git@vger$(echo .)kernel.org \
    --cc=mschub@elegosoft$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox