Skip to content

Commit

Permalink
Fix up applymbox script for the addition of "git-" prefix
Browse files Browse the repository at this point in the history
Ehh, it works much better that way ;)
  • Loading branch information
Linus Torvalds committed Jul 24, 2005
1 parent 2002eed commit 154d3d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/git-applymbox
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 154d3d2

Please sign in to comment.