[PATCH] format-patch: fix skipping of blank-lines
authorJunio C Hamano <junkio@cox.net>
Sat, 9 Jul 2005 02:27:15 +0000 (19:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 9 Jul 2005 02:48:44 +0000 (19:48 -0700)
commit1855c044629a02488baa1bd25ae45341da33bd4e
treeae17bae47dfcd4c19c91c22856f6337c5fb8886a
parented616049d76a59df10a9064f8883009ab1329da4
[PATCH] format-patch: fix skipping of blank-lines

If it is fed a commit with more than one leading blank lines,
the sed scripts git-format-patch-script used looped forever.
Using git-stripspace upfront makes the sed script somewhat
simpler to work around this problem.

Also use git-rev-parse so that we can say

    $ git-format-patch-script HEAD^^^^

to prepare the latest four patches for e-mail submission.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
git-format-patch-script