X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git-format-patch-script;h=51e8af0acb76679d712884f990a6363cfd235d7e;hb=7f47e72fb3b947db4ffde56a40d999c2fe99ead2;hp=994019e17ef5e6fa6c5a7da3c69656be4c445cdf;hpb=80bd6f3064a6009cd18a4dab9ce6d29681cec4af;p=git.git diff --git a/git-format-patch-script b/git-format-patch-script index 994019e1..51e8af0a 100755 --- a/git-format-patch-script +++ b/git-format-patch-script @@ -109,7 +109,7 @@ _x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40" stripCommitHead='/^'"$_x40"' (from '"$_x40"')$/d' git-rev-list --merge-order "$junio" "^$linus" >$series -total=`wc -l <$series` +total=`wc -l <$series | tr -dc "[0-9]"` i=$total while read commit do