From a6c058259961eb970ef6df3bc011e4934425f284 Mon Sep 17 00:00:00 2001 From: Sean McGrail Date: Thu, 20 Nov 2025 23:36:50 +0000 Subject: [PATCH] Exclude .git from source size metric reporting --- tests/ci/run_analytics.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ci/run_analytics.sh b/tests/ci/run_analytics.sh index 3289973f78..990a5c9bc0 100755 --- a/tests/ci/run_analytics.sh +++ b/tests/ci/run_analytics.sh @@ -28,7 +28,7 @@ function put_metric { # Return the size of an object or total for the folder (summarize) function size { - du --bytes --apparent-size --summarize "$@" | cut -f1 + du --bytes --apparent-size --summarize --exclude=.git "$@" | cut -f1 } SOURCE_CODE_SIZE=$(size "$SRC_ROOT")