Skip to content

Commit fcc2a7a

Browse files
committed
remove -dirty suffixing of commit hashes (always dirty anyway)
1 parent 09ec820 commit fcc2a7a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

p-token/test-properties/run-proofs.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,8 @@ fi
6565
set -u
6666

6767
REPO_COMMIT=$(git rev-parse --short HEAD 2>/dev/null || echo "unknown")
68-
if git status --porcelain 1>/dev/null 2>&1 && [ -n "$(git status --porcelain 2>/dev/null)" ]; then
69-
REPO_COMMIT="${REPO_COMMIT}-dirty"
70-
fi
7168

7269
MIR_COMMIT=$(git -C mir-semantics rev-parse --short HEAD 2>/dev/null || echo "unknown")
73-
if git -C mir-semantics status --porcelain 1>/dev/null 2>&1 && \
74-
[ -n "$(git -C mir-semantics status --porcelain 2>/dev/null)" ]; then
75-
MIR_COMMIT="${MIR_COMMIT}-dirty"
76-
fi
7770

7871
PROOF_DIR="${ARTIFACTS_DIR:-artefacts}/proof-${REPO_COMMIT}-${MIR_COMMIT}"
7972
mkdir -p "${PROOF_DIR}"

0 commit comments

Comments
 (0)