[damned-lies/develop] fix: new git config requires to know safe directories



commit b09f65aa52b3aef88987ca473c375a89fe32330f
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date:   Mon Oct 10 11:29:29 2022 +0200

    fix: new git config requires to know safe directories

 stats/tests/tests.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/stats/tests/tests.py b/stats/tests/tests.py
index 6a69dc00..4f1ffb19 100644
--- a/stats/tests/tests.py
+++ b/stats/tests/tests.py
@@ -487,6 +487,7 @@ class ModuleTestCase(TestCase):
             ["git", "config", "user.email", "john example org"],
             cwd=commit_dir,
         )
+        run_shell_command(["git", "config", "--global", "--add", "safe.directory", commit_dir], 
cwd=commit_dir)
         run_shell_command(
             ["git", "checkout", "-b", "gnome-3-18", "origin/master"], cwd=commit_dir, raise_on_error=True
         )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]