On 14/02/06, Shawn Pearce <spearce@spearce.org> 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Thu Feb 16 04:21:52 2006
This archive was generated by hypermail 2.1.8 : 2006-02-16 04:22:02 EST