From b07f844c727565cee8e6dc910315886ca147bdcb Mon Sep 17 00:00:00 2001 From: Tristan Date: Sat, 10 May 2025 14:14:17 -0400 Subject: [PATCH] who loves a typo? --- github_mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_mirror.py b/github_mirror.py index e6eb3da..11d43dc 100644 --- a/github_mirror.py +++ b/github_mirror.py @@ -157,7 +157,7 @@ def main(): logging.info("Successfully fetched updates from local server.") logging.info(f"Pushing mirror of '{repo_name}' to GitHub remote: '{github_repo_url}'") - run_command(["git", "config", "--global", "--add", "safe.directory", local_mirror_clone_path], cwd=local_mirror_clone_path) + run_command(["git", "config", "--global", "--add", "safe.directory"], cwd=local_mirror_clone_path) run_command(["git", "push", "--mirror", "github"], cwd=local_mirror_clone_path) logging.info(f"Successfully mirrored '{repo_name}' to GitHub.")