diff options
-rwxr-xr-x | git-format-patch-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-format-patch-script b/git-format-patch-script index 994019e17e..51e8af0acb 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 |