Re: git-fast-import

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shawn O. Pearce
Date: Tuesday, February 6, 2007 - 1:09 pm

Nicolas Pitre <nico@cam.org> wrote:

Done.  I just pushed a change to gfi which adds `--date-format=<fmt>`.
For <fmt> 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.

  now: This is a toy, but useful if you really want now, dammit.
  We just call datestamp() and tack that in.  Note that the frontend
  must also supply the literal string `now` in the committer line
  (e.g. "committer A U Thor <at@example.com> now") to prevent us
  from bombing out.

The last one will probably get more useful when I fix gfi so it can
safely commit against active refs without losing commits (make it
do a strict fast-forward check before updating).  In this case it
may be useful for something like git-cvsserver, as it avoids the
need for a temporary directory, index, etc.
 
-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-fast-import, Shawn O. Pearce, (Mon Feb 5, 7:31 pm)
Re: git-fast-import, Nicolas Pitre, (Mon Feb 5, 8:18 pm)
Re: git-fast-import, Nicolas Pitre, (Mon Feb 5, 9:06 pm)
Re: git-fast-import, Shawn O. Pearce, (Mon Feb 5, 10:48 pm)
Re: git-fast-import, Aneesh Kumar K.V, (Mon Feb 5, 11:12 pm)
Re: git-fast-import, Shawn O. Pearce, (Mon Feb 5, 11:18 pm)
Re: git-fast-import, Andy Parkins, (Tue Feb 6, 2:28 am)
Re: git-fast-import, Shawn O. Pearce, (Tue Feb 6, 2:40 am)
Re: git-fast-import, Alex Riesen, (Tue Feb 6, 6:50 am)
Re: git-fast-import, Linus Torvalds, (Tue Feb 6, 9:35 am)
Re: git-fast-import, Linus Torvalds, (Tue Feb 6, 9:37 am)
Re: git-fast-import, Shawn O. Pearce, (Tue Feb 6, 9:44 am)
Re: git-fast-import, Shawn O. Pearce, (Tue Feb 6, 9:56 am)
Re: git-fast-import, Linus Torvalds, (Tue Feb 6, 10:20 am)
Re: git-fast-import, Linus Torvalds, (Tue Feb 6, 10:24 am)
Re: git-fast-import, Shawn O. Pearce, (Tue Feb 6, 10:43 am)
Re: git-fast-import, Alex Riesen, (Tue Feb 6, 11:02 am)
Re: git-fast-import, Nicolas Pitre, (Tue Feb 6, 11:53 am)
Re: git-fast-import, Shawn O. Pearce, (Tue Feb 6, 1:09 pm)
Re: git-fast-import, Nicolas Pitre, (Tue Feb 6, 2:03 pm)
Re: git-fast-import, Shawn O. Pearce, (Tue Feb 6, 2:15 pm)
Re: git-fast-import, Nicolas Pitre, (Tue Feb 6, 2:42 pm)
Re: git-fast-import, Horst H. von Brand, (Tue Feb 6, 6:17 pm)
Re: git-fast-import, Linus Torvalds, (Tue Feb 6, 7:50 pm)
Re: git-fast-import, Daniel Barkalow, (Tue Feb 6, 9:45 pm)
Re: git-fast-import, Daniel Barkalow, (Tue Feb 6, 9:55 pm)
Re: git-fast-import, Shawn O. Pearce, (Tue Feb 6, 10:46 pm)
Re: git-fast-import, Shawn O. Pearce, (Tue Feb 6, 10:53 pm)
Re: git-fast-import, Karl , (Wed Feb 7, 2:13 am)
Re: git-fast-import, Karl , (Wed Feb 7, 2:21 am)
RE: git-fast-import, Raimund Bauer, (Wed Feb 7, 2:29 am)
Re: git-fast-import, David Woodhouse, (Wed Feb 7, 3:58 am)
Re: git-fast-import, Johannes Schindelin, (Wed Feb 7, 4:17 am)
Re: git-fast-import, David Woodhouse, (Wed Feb 7, 6:38 am)
Re: git-fast-import, Horst H. von Brand, (Wed Feb 7, 3:18 pm)
Re: git-fast-import, Linus Torvalds, (Wed Feb 7, 3:39 pm)
Re: git-fast-import, Shawn O. Pearce, (Wed Feb 7, 3:55 pm)
Re: git-fast-import, Johannes Schindelin, (Wed Feb 7, 4:55 pm)
Re: git-fast-import, Shawn O. Pearce, (Wed Feb 7, 5:12 pm)
Re: git-fast-import, Linus Torvalds, (Thu Feb 8, 9:56 am)
Re: git-fast-import, Shawn O. Pearce, (Thu Feb 8, 12:10 pm)
Re: git-fast-import, Johannes Schindelin, (Thu Feb 8, 2:34 pm)
Re: git-fast-import, Karl , (Fri Feb 9, 1:49 am)