Here's an alternate method for handling 'format-patch' failing.  We remove the
pipe between 'format-patch' and 'am' by storing the patch in an intermediate
file. This means we can gurantee that 'am' is always invokved with the complete

I did some timing on rebasing 500 commits from the git repo.  The patch file
had a size of 6.9MB, but the overall timings between the pipe approach and
intermediate file approach are approximately the same.  I did the tests on a
Linux machine, so I don't know what the impact would be on other platforms, or
in repos with larger files and perhaps binary files.

Andrew Wong (1):
  rebase: Handle cases where format-patch fails | 28 +++++++++++++++++++++++++---
 1 file changed, 25 insertions(+), 3 deletions(-)


To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Reply via email to