aboutsummaryrefslogtreecommitdiffstats
path: root/t/t6115-rev-list-du.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t6115-rev-list-du.sh')
-rwxr-xr-xt/t6115-rev-list-du.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6115-rev-list-du.sh b/t/t6115-rev-list-du.sh
index 3385fe9f13..04c577dad6 100755
--- a/t/t6115-rev-list-du.sh
+++ b/t/t6115-rev-list-du.sh
@@ -22,7 +22,7 @@ test_expect_success 'set up repository' '
disk_usage_slow () {
git rev-list --no-object-names "$@" |
git cat-file --batch-check="%(objectsize:disk)" |
- perl -lne '$total += $_; END { print $total}'
+ awk '{ i += $1 } END { print i }'
}
# check behavior with given rev-list options; note that