summaryrefslogtreecommitdiff
path: root/git-format-patch-script
AgeCommit message (Collapse)AuthorFilesLines
2005-07-08[PATCH] format-patch: fix skipping of blank-linesLibravatar Junio C Hamano1-8/+14
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>
2005-07-07[PATCH] git-format-patch: Prepare patches for e-mail submission.Libravatar Junio C Hamano1-0/+121
This is the script I use to prepare patches for e-mail submission. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>