From: Jeff King Date: Tue, 23 May 2006 06:52:32 GMT Subject: Re: irc usage.. Message-ID: <20060523065232.GA6180@coredump.intra.peff.net> In-Reply-To: <46a038f90605221615j59583bcdqf128bab31603148e@mail.gmail.com> On Tue, May 23, 2006 at 11:15:07AM +1200, Martin Langhoff wrote: > >I think cvsimport predates that option, but these days that loop > >can be optimized by feeding --index-info from standard input. > Oh, yep, that'd be a good addition. I think we can also cut down on This patch is relatively simple, and I'll post it in a moment. I also made a few other cleanups to commit() which apply on top of that; I'll post it also. > - Stop abusing globals in commit() -- pass the commit data as parameters. Some of the globals actually get modified in commit() (e.g., @old and @new get cleared). So we need to either pass them in as references or remember to do that cleanup each time it is called (which is really only twice, I think). > Will be trying to do those things in the next few days, don't mind if > someone jumps in as well. I can look at the line/block CVS file slurping, but not tonight. -Peff