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