From: Catalin Marinas Date: Wed, 15 Feb 2006 17:20:28 GMT Subject: Re: [ANNOUNCE] pg - A patch porcelain for GIT Message-ID: In-Reply-To: <20060214061406.GA13238@spearce.org> On 14/02/06, Shawn Pearce wrote: > The diff-tree/apply approach is faster for a single commit then > read-tree -u -m is; even if totally different files are being > impacted and thus all stages collapse neatly to stage 0 in the index. > No wonder StGIT uses diff/apply! For the simple tests you did the difference is not that big. It becomes a real problem when there are many file deletions/additions in the upstream tree since git-read-tree doesn't handle them and git-merge-index would need to call the external tool for each of them. To test the above, clone the 2.6.12 kernel version, create some trivial patches and rebase to 2.6.16-rc3. StGIT was running even for 5 minutes per patch before implementing the diff-tree/apply method. -- Catalin