From: Linus Torvalds Date: Sun, 24 Jul 2005 03:28:34 +0000 (-0700) Subject: Fix up applymbox script for the addition of "git-" prefix X-Git-Tag: v0.99.2~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=154d3d2dd2656c23ea04e9d1c6dd4e576a7af6de;p=git.git Fix up applymbox script for the addition of "git-" prefix Ehh, it works much better that way ;) --- diff --git a/tools/git-applymbox b/tools/git-applymbox index bc2dbf26a..30082e7fd 100755 --- a/tools/git-applymbox +++ b/tools/git-applymbox @@ -34,7 +34,7 @@ case "$continue" in '') rm -rf .dotest mkdir .dotest - mailsplit "$1" .dotest || exit 1 + git-mailsplit "$1" .dotest || exit 1 esac case "$query_apply" in @@ -47,11 +47,11 @@ do f,$i) resume=t;; f,*) continue;; *) - mailinfo .dotest/msg .dotest/patch <$i >.dotest/info || exit 1 + git-mailinfo .dotest/msg .dotest/patch <$i >.dotest/info || exit 1 git-stripspace < .dotest/msg > .dotest/msg-clean ;; esac - applypatch .dotest/msg-clean .dotest/patch .dotest/info "$2" + git-applypatch .dotest/msg-clean .dotest/patch .dotest/info "$2" ret=$? if [ $ret -ne 0 ]; then # 2 is a special exit code from applypatch to indicate that