git-apply: parse the whole list of patches into memory first
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 26 May 2005 17:23:51 +0000 (10:23 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 26 May 2005 17:23:51 +0000 (10:23 -0700)
Make it a clear two-phase thing: first a read-only parse of
the patch itself (which is independent of any current index
information), and then the second phase actually uses the patch.

The second phase might not be a real apply, it could be just a
diffstat, for example. Which is trivial to do once the patch is
parsed.


No differences found