diff --git a/git-applymbox.sh b/git-applymbox.sh
index 79abce2a258cd3c4f701f58328bba9b87a029efc..6de6932879e9f1298f69e2826f13e1ee231ecea0 100755 (executable)
--- a/git-applymbox.sh
+++ b/git-applymbox.sh
## Pay a special attention to the commit log message if you do this and
## use a Signoff_file, because applypatch wants to append the sign-off
## message to msg-clean every time it is run.
+##
+## git-am is supposed to be the newer and better tool for this job.
. git-sh-setup || die "Not a git archive"
'')
rm -rf .dotest
mkdir .dotest
- git-mailsplit "$1" .dotest || exit 1
+ num_msgs=$(git-mailsplit "$1" .dotest) || exit 1
+ echo "$num_msgs patch(es) to process."
shift
esac