Re: git-revert is a memory hog
- From
Jeff King <peff@peff.net>
- Date
- Jan 28, 2008, 06:01 UTC
- Message-ID
- <20080128060149.GB13521@coredump.intra.peff.net>
- In-Reply-To
- <20080127173808.GX24004@spearce.org>
On Sun, Jan 27, 2008 at 12:38:08PM -0500, Shawn O. Pearce wrote:
Show 9 quoted lines
> > git-show d19fbe8a7 | patch -p1 -R > > Its more like: > > git-diff-tree -M d19fbe8a7^ d19fbe8a7 | git-apply -R --index > > In other words its doing rename detection. Its possible that the > rename detector fired for added/removed paths and it took some > significant amount of memory to figure out what was renamed.
It's doubtful. There are only two files in that diff, and neither is a candidate for rename detection.
-Peff