From f78ef1d643f5204a7d6b575ca0e122a5ba12b095 Mon Sep 17 00:00:00 2001
From: Recolic <git@me.recolic.net>
Date: Fri, 29 Sep 2023 01:26:17 +0000
Subject: [PATCH] Bug fix: workdir is always changing, causing cache doesn't
 work

---
 gitlab2github_sync.fish | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gitlab2github_sync.fish b/gitlab2github_sync.fish
index 4769218..f88fe35 100755
--- a/gitlab2github_sync.fish
+++ b/gitlab2github_sync.fish
@@ -74,7 +74,9 @@ function do_namespace_copy
     end
 end
 
+set workdir (pwd)
 for ns in $gitlab_namespace_src
+    cd $workdir
     do_namespace_copy $ns
 end
 
-- 
GitLab