From 01005fdccf525ff245765a7c78d64e0cf6c5c7d8 Mon Sep 17 00:00:00 2001 From: benjamin wil Date: Sat, 30 Apr 2022 22:31:07 -0700 Subject: [PATCH] Ensure example git repos are valid It was reported in #1817 that the `lotr_migration.git` repository we use in `test/test_migrate.rb` is not a valid git repository on when clone, causing the test suite to fail when run locally. The reason is because there is no `.git/refs` directory, meaning it's not really a valid git repository at all. I noticed that the `empty.git` example repository has the same problem. This commit simply ensures that the directory structure of these example repositories are persisted in git. --- test/examples/empty.git/refs/heads/.keep | 0 test/examples/lotr_migration.git/refs/heads/.keep | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/examples/empty.git/refs/heads/.keep create mode 100644 test/examples/lotr_migration.git/refs/heads/.keep diff --git a/test/examples/empty.git/refs/heads/.keep b/test/examples/empty.git/refs/heads/.keep new file mode 100644 index 00000000..e69de29b diff --git a/test/examples/lotr_migration.git/refs/heads/.keep b/test/examples/lotr_migration.git/refs/heads/.keep new file mode 100644 index 00000000..e69de29b