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

Re: Missing strptime

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Sep 25, 2007, 00:30 UTC
Message-ID
<Pine.LNX.4.64.0709250127170.28395@racer.site>
In-Reply-To
<OF8EBEA0A7.5425E9EA-ON88257360.00812AEA-88257360.00819919@beckman.com>
Hi,
On Mon, 24 Sep 2007, mkraai@beckman.com wrote:
> I'm porting Git to QNX.
That's nice!
Show 5 quoted lines
> Its C library doesn't provide strptime, so I'd was planning to use the 
> Gnulib implementation.  Is that OK?  If so, should I try to leave it as 
> close to upstream's version as possible or should I remove all of the 
> unneeded cruft?  If not, is there an alternative implementation I should 
> use?

The only user for strptime is convert-objects, a program that should probably move to contrib/ anyway. It was used once, a long time ago, to convert from the old format, which hashed the compressed contents, to the current format, which hashes the contents _before_ compression.

AFAIAC if a similar need should arise, the better alternative would be to write git-fast-export, a tool which dumps the contents of a repository suitable to pipe into git-fast-import.

FWIW in mingw.git, we disabled convert-objects already a long time ago.

Ciao, Dscho

Previous: mkraai@beckman.comNext: Linus Torvalds
Message 2 of 4 in “Missing strptime”
  1. mkraai@beckman.comSep 24, 2007
  2. Johannes SchindelinSep 25, 2007
  3. Linus TorvaldsSep 25, 2007
  4. Johannes SchindelinSep 25, 2007

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.