From: Sergio <sergio.callegari@gmail.com>
To: git@vger.kernel.org
Subject: Git silently ignores --date when data is not in the correct format
Date: Mon, 13 Dec 2010 15:20:07 +0000 (UTC) [thread overview]
Message-ID: <loom.20101213T161633-993@post.gmane.org> (raw)
Hi,
on 1.7.3.3, I have noticed that git --commit silently ignores the
--date=<date> switch if <date> is not in the current format.
for instance
git --commit --amend --date="10.11.2010" creates a commit with the current
date and time, because the --date argument misses the time.
possibly, it would be better to stop with an error message.
next reply other threads:[~2010-12-13 15:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-13 15:20 Sergio [this message]
2010-12-13 17:02 ` [PATCH/RFC] ident: die on bogus date format Jeff King
2010-12-13 18:00 ` Sergio Callegari
2010-12-15 21:53 ` Junio C Hamano
2010-12-21 1:00 ` 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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20101213T161633-993@post.gmane.org \
--to=sergio.callegari@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).