From: 乙酸鋰 <ch3cooli@gmail.com>
To: git <git@vger.kernel.org>
Subject: git commit --date format
Date: Mon, 13 Apr 2015 23:42:18 +0800 [thread overview]
Message-ID: <CAHtLG6SPqoZJ+bc6eaHEAkEN9VAwuq+hh4OUG8opOETRQKfUyg@mail.gmail.com> (raw)
Hi,
In git < 2.0, git commit --amend --date="" can amend commit with
current time as author time.
But since git 2.0, this does not work, dying with "invalid date format".
I have to instead type git commit --amend --date="now".
Is empty string date format no longer supported? Or will be fixed?
next reply other threads:[~2015-04-13 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-13 15:42 乙酸鋰 [this message]
2015-04-14 17:10 ` git commit --date format Junio C Hamano
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=CAHtLG6SPqoZJ+bc6eaHEAkEN9VAwuq+hh4OUG8opOETRQKfUyg@mail.gmail.com \
--to=ch3cooli@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).