{"thread":{"id":"10001","subject":"Missing strptime","startedAt":"2007-09-24T23:35:34Z","lastAt":"2007-09-25T01:03:14Z","messageCount":4,"participants":["mkraai@beckman.com","Johannes Schindelin","Linus Torvalds"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"53951","messageId":"OF8EBEA0A7.5425E9EA-ON88257360.00812AEA-88257360.00819919@beckman.com","threadId":"10001","inReplyTo":null,"subject":"Missing strptime","fromName":"","fromEmail":"mkraai@beckman.com","sentAt":"2007-09-24T23:35:34Z","receivedAt":"2007-09-24T23:35:34Z","isPatch":false,"sender":{"key":"mkraai@beckman.com","avatar":null},"body":"Howdy,\n\nI'm porting Git to QNX.  Its C library doesn't provide strptime, so I'd \nwas planning to use the Gnulib implementation.  Is that OK?  If so, should \nI try to leave it as close to upstream's version as possible or should I \nremove all of the unneeded cruft?  If not, is there an alternative \nimplementation I should use?\n\nMatt\n\nP.S. Sorry for the footer.\n\nThe server made the following annotations \n---------------------------------------------------------------------------------\nThis message contains information that may be privileged or confidential and is the property of Beckman Coulter, Inc. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.\n\n---------------------------------------------------------------------------------\n"},{"id":"53952","messageId":"Pine.LNX.4.64.0709250127170.28395@racer.site","threadId":"10001","inReplyTo":"OF8EBEA0A7.5425E9EA-ON88257360.00812AEA-88257360.00819919@beckman.com","subject":"Re: Missing strptime","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-09-25T00:30:30Z","receivedAt":"2007-09-25T00:30:30Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 24 Sep 2007, mkraai@beckman.com wrote:\n\n> I'm porting Git to QNX.\n\nThat's nice!\n\n> Its C library doesn't provide strptime, so I'd was planning to use the \n> Gnulib implementation.  Is that OK?  If so, should I try to leave it as \n> close to upstream's version as possible or should I remove all of the \n> unneeded cruft?  If not, is there an alternative implementation I should \n> use?\n\nThe only user for strptime is convert-objects, a program that should \nprobably move to contrib/ anyway.  It was used once, a long time ago, to \nconvert from the old format, which hashed the compressed contents, to the \ncurrent format, which hashes the contents _before_ compression.\n\nAFAIAC if a similar need should arise, the better alternative would be to \nwrite git-fast-export, a tool which dumps the contents of a repository \nsuitable to pipe into git-fast-import.\n\nFWIW in mingw.git, we disabled convert-objects already a long time ago.\n\nCiao,\nDscho\n"},{"id":"53953","messageId":"alpine.LFD.0.999.0709241750510.3579@woody.linux-foundation.org","threadId":"10001","inReplyTo":"Pine.LNX.4.64.0709250127170.28395@racer.site","subject":"Re: Missing strptime","fromName":"Linus Torvalds","fromEmail":"torvalds@linux-foundation.org","sentAt":"2007-09-25T00:52:42Z","receivedAt":"2007-09-25T00:52:42Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\n\nOn Tue, 25 Sep 2007, Johannes Schindelin wrote:\n> \n> The only user for strptime is convert-objects, a program that should \n> probably move to contrib/ anyway.  It was used once, a long time ago, to \n> convert from the old format, which hashed the compressed contents, to the \n> current format, which hashes the contents _before_ compression.\n\nActually, it also changes the date format, I think.\n\n> AFAIAC if a similar need should arise, the better alternative would be to \n> write git-fast-export, a tool which dumps the contents of a repository \n> suitable to pipe into git-fast-import.\n\nAgreed. It probably might as well just be moved to contrib and let it \nbitrot.\n\n\t\tLinus\n"},{"id":"53954","messageId":"Pine.LNX.4.64.0709250202130.28395@racer.site","threadId":"10001","inReplyTo":"alpine.LFD.0.999.0709241750510.3579@woody.linux-foundation.org","subject":"Re: Missing strptime","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-09-25T01:03:14Z","receivedAt":"2007-09-25T01:03:14Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 24 Sep 2007, Linus Torvalds wrote:\n\n> On Tue, 25 Sep 2007, Johannes Schindelin wrote:\n> > \n> > The only user for strptime is convert-objects, a program that should \n> > probably move to contrib/ anyway.  It was used once, a long time ago, \n> > to convert from the old format, which hashed the compressed contents, \n> > to the current format, which hashes the contents _before_ compression.\n> \n> Actually, it also changes the date format, I think.\n\nYes, right, that was actually why strptime() was needed.\n\nCiao,\nDscho\n"}]}