git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Allow the Unix epoch to be a valid commit date

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 5, 2009, 19:27 UTC
Message-ID
<7vljn3hqvg.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20090703043454.GA20080@dcvr.yhbt.net>
Eric Wong <normalperson@yhbt.net> writes:
Show 10 quoted lines
> It is common practice to use the Unix epoch as a fallback date
> when a suitable date is not available.  This is true of git svn
> and possibly other importing tools that import non-git history
> into git.
>
> Instead of clobbering established strtoul() error reporting
> semantics with our own, preserve the strtoul() error value
> of ULONG_MAX for fsck.c to handle.
>
> Signed-off-by: Eric Wong <normalperson@yhbt.net>
Makes sense.  Will queue.
Thanks.
Previous: Eric Wong
Message 4 of 4 in “git-svn producing "invalid author/committer line"”
  1. esskov@oncable.dkJul 2, 2009
  2. Eric WongJul 3, 2009
  3. Allow the Unix epoch to be a valid commit dateEric Wong, Jul 3, 2009
  4. Junio C HamanoJul 5, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.