git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git silently ignores --date when data is not in the correct format
@ 2010-12-13 15:20 Sergio
  2010-12-13 17:02 ` [PATCH/RFC] ident: die on bogus date format Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Sergio @ 2010-12-13 15:20 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-21  1:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-13 15:20 Git silently ignores --date when data is not in the correct format Sergio
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

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).