Revision 1855c044629a02488baa1bd25ae45341da33bd4e authored by Junio C Hamano on 09 July 2005, 02:27:15 UTC, committed by Linus Torvalds on 09 July 2005, 02:48:44 UTC
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>
1 parent ed61604
History
File Mode Size
t4100
Makefile -rw-r--r-- 243 bytes
README -rw-r--r-- 6.6 KB
diff-lib.sh -rw-r--r-- 1.3 KB
lib-read-tree-m-3way.sh -rw-r--r-- 4.1 KB
t0000-basic.sh -rwxr-xr-x 6.9 KB
t0100-environment-names.sh -rwxr-xr-x 2.2 KB
t0110-environment-names-old.sh -rwxr-xr-x 3.7 KB
t1000-read-tree-m-3way.sh -rwxr-xr-x 17.0 KB
t1001-read-tree-m-2way.sh -rwxr-xr-x 10.2 KB
t1002-read-tree-m-u-2way.sh -rwxr-xr-x 9.7 KB
t1005-read-tree-m-2way-emu23.sh -rw-r--r-- 12.9 KB
t1100-commit-tree-options.sh -rw-r--r-- 1.1 KB
t2000-checkout-cache-clash.sh -rwxr-xr-x 1.2 KB
t2001-checkout-cache-clash.sh -rwxr-xr-x 2.4 KB
t2002-checkout-cache-u.sh -rwxr-xr-x 740 bytes
t2003-checkout-cache-mkdir.sh -rw-r--r-- 2.5 KB
t2100-update-cache-badpath.sh -rwxr-xr-x 1.0 KB
t3000-ls-files-others.sh -rwxr-xr-x 640 bytes
t3010-ls-files-killed.sh -rwxr-xr-x 1.3 KB
t3100-ls-tree-restrict.sh -rw-r--r-- 2.9 KB
t4000-diff-format.sh -rwxr-xr-x 1.1 KB
t4001-diff-rename.sh -rwxr-xr-x 1.0 KB
t4002-diff-basic.sh -rw-r--r-- 14.5 KB
t4003-diff-rename-1.sh -rw-r--r-- 4.0 KB
t4004-diff-rename-symlink.sh -rw-r--r-- 1.5 KB
t4005-diff-rename-2.sh -rw-r--r-- 5.3 KB
t4006-diff-mode.sh -rw-r--r-- 684 bytes
t4007-rename-3.sh -rw-r--r-- 2.7 KB
t4008-diff-break-rewrite.sh -rw-r--r-- 5.9 KB
t4009-diff-rename-4.sh -rw-r--r-- 5.3 KB
t4010-diff-pathspec.sh -rw-r--r-- 1.7 KB
t4100-apply-stat.sh -rw-r--r-- 1.2 KB
t5000-tar-tree.sh -rw-r--r-- 2.5 KB
t5300-pack-object.sh -rwxr-xr-x 3.9 KB
t6000lib.sh -rw-r--r-- 2.5 KB
t6001-rev-list-merge-order.sh -rwxr-xr-x 9.9 KB
t6002-rev-list-bisect.sh -rwxr-xr-x 8.1 KB
t6003-rev-list-topo-order.sh -rwxr-xr-x 8.5 KB
test-lib.sh -rwxr-xr-x 2.9 KB

README

back to top