From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Pitre Subject: Re: git-fast-import Date: Tue, 06 Feb 2007 16:03:41 -0500 (EST) Message-ID: References: <20070206023111.GB9222@spearce.org> <20070206054808.GA10508@spearce.org> <20070206165630.GB4949@spearce.org> <20070206200924.GA5352@spearce.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: Linus Torvalds , git@vger.kernel.org To: "Shawn O. Pearce" X-From: git-owner@vger.kernel.org Tue Feb 06 22:06:01 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HEXTn-0000Yo-46 for gcvg-git@gmane.org; Tue, 06 Feb 2007 22:03:55 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965470AbXBFVDw (ORCPT ); Tue, 6 Feb 2007 16:03:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965472AbXBFVDw (ORCPT ); Tue, 6 Feb 2007 16:03:52 -0500 Received: from relais.videotron.ca ([24.201.245.36]:10186 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965470AbXBFVDv (ORCPT ); Tue, 6 Feb 2007 16:03:51 -0500 Received: from xanadu.home ([74.56.106.175]) by VL-MH-MR002.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0JD2001047U5S9X0@VL-MH-MR002.ip.videotron.ca> for git@vger.kernel.org; Tue, 06 Feb 2007 16:03:41 -0500 (EST) In-reply-to: <20070206200924.GA5352@spearce.org> X-X-Sender: nico@xanadu.home Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On Tue, 6 Feb 2007, Shawn O. Pearce wrote: > Done. I just pushed a change to gfi which adds `--date-format=`. > For you have the choice of: > > raw: Standard Git format. This is the default, as its what > the existing frontends by Chris Lee, Simon Hausmann, Jon Smirl, > and Simon 'corecode' Schubert expect. > > rfc2822: Run whatever crap you give us through parse_date(), > and cross your fingers. If parse_date() returns < 0 we bomb > out, but otherwise take it at its word. I think you should call it something else than rfc2822. Because parse_date() accepts much more than just rfc2822. What about "cooked"? Nicolas