Re: [ANNOUNCE] pg - A patch porcelain for GIT
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- Feb 15, 2006, 17:20 UTC
- Message-ID
- <b0943d9e0602150920y242a161w@mail.gmail.com>
- In-Reply-To
- <20060214061406.GA13238@spearce.org>
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