summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/update-dh-compat19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/update-dh-compat b/tests/update-dh-compat
index 16eee85..9afe1bf 100755
--- a/tests/update-dh-compat
+++ b/tests/update-dh-compat
@@ -23,6 +23,7 @@ set -e
# This ad-hoc script was wrtten to deal with #1002927.
+export FILTER_BRANCH_SQUELCH_WARNING=1
toplevel=$PWD
cd_fresh_d () {
@@ -94,6 +95,24 @@ done
cd "$toplevel"
+for f in tests/worktrees/*.tar; do
+ cd_fresh_d
+
+ tar xf ../$f
+
+ p=$(echo *)
+ cd $p
+ adjust_git_filter
+ adjust
+ cd ..
+
+ tar cf ../$f $p
+
+ cd ..
+done
+
+cd "$toplevel"
+
rm -rf d
echo ok.