From: David Kastrup Date: Wed, 05 Sep 2007 21:19:18 GMT Subject: Re: Significant performance waste in git-svn and friends Message-ID: <85bqcghktl.fsf@lola.goethe.zz> In-Reply-To: <7vd4wwj16d.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > Mike Hommey writes: > >> The same things obviously apply to git-cvsimport and other scripts >> calling git-hash-object a lot. > > I *obviously* hate this patch, as it makes this Porcelain > command to be aware of the internal representation too much. > > I wonder if letting fast-import handle the object creation is an > option, though. I think it would be saner to give git-hash-object an operation mode that makes it usable as a pipe-controlled daemon, so that one needs not fork and exec for interning another object. That way, porcelain commands could keep one bidirectional pipe (feed object type and source and whether to use -w into git-hash-project, receive object id) to git-hash-object around until they finish. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum