summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-21 17:21:12 -0400
committerGitHub <noreply@github.com>2022-04-21 17:21:12 -0400
commitbfd617ebbe622e7147d0ff44c3a1089ee15eb7f4 (patch)
treef5462405f01dc42245b7aad544e1c45102c2275a
parent077e7c5068e12c46356bf5591b1ef58da349af36 (diff)
parentdc02e99d8f3b7698f8003d45b420c4c200ec5833 (diff)
downloadpodman-bfd617ebbe622e7147d0ff44c3a1089ee15eb7f4.tar.gz
podman-bfd617ebbe622e7147d0ff44c3a1089ee15eb7f4.tar.bz2
podman-bfd617ebbe622e7147d0ff44c3a1089ee15eb7f4.zip
Merge pull request #13955 from cevich/fix_size_check
Fix size-check to display more context
-rwxr-xr-xhack/make-and-check-size5
1 files changed, 3 insertions, 2 deletions
diff --git a/hack/make-and-check-size b/hack/make-and-check-size
index f2345b815..5b0021d12 100755
--- a/hack/make-and-check-size
+++ b/hack/make-and-check-size
@@ -92,9 +92,10 @@ if [[ ! -d $context_dir ]]; then
fi
# This is the original (and primary) purpose of this check: if 'make' fails,
-# there is no point in continuing
+# there is no point in continuing. Show at least the commit title since
+# the ID may not match anything human recognisable.
echo
-echo "Building: $(git rev-parse HEAD)"
+echo "Building: $(git log -n 1 --no-show-signature --oneline)"
make
# Determine size of each built file.