feat(history-rewrite): enhance object checks in history rewrite scripts to focus on blob types and improve logging

This commit is contained in:
GitHub Actions
2025-12-09 14:20:37 +00:00
parent 9adf2735dd
commit 3ec6eba23a
5 changed files with 53 additions and 12 deletions

View File

@@ -4,6 +4,9 @@ setup() {
TMPREPO=$(mktemp -d)
cd "$TMPREPO"
git init -q
# Set local git identity for test commits
git config user.email "test@example.com"
git config user.name "Test Runner"
# create a directory that matches the paths to be pruned
mkdir -p backend/codeql-db
# add a large fake blob file

View File

@@ -5,6 +5,9 @@ setup() {
TMPREPO=$(mktemp -d)
cd "$TMPREPO"
git init -q
# Set local git identity for test commits
git config user.email "test@example.com"
git config user.name "Test Runner"
echo 'initial' > README.md
git add README.md && git commit -m 'init' -q
# Make a minimal .venv pre-commit stub