Skip to content

Commit

Permalink
git-apply: parse the whole list of patches into memory first
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Linus Torvalds committed May 26, 2005
1 parent 368da62 commit 19c58fb
Showing 1 changed file with 146 additions and 90 deletions.
Loading

0 comments on commit 19c58fb

Please sign in to comment.