From 02b7f1df59bcc41ed7c12d3e94deae914f21d844 Mon Sep 17 00:00:00 2001
From: amtoine <stevan.antoine@gmail.com>
Date: Mon, 30 Oct 2023 21:41:34 +0100
Subject: [PATCH] DEBUG: see if the issue comes from clone or remote

---
 nu-git-manager/mod.nu | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nu-git-manager/mod.nu b/nu-git-manager/mod.nu
index c3c2556a..af1b2796 100644
--- a/nu-git-manager/mod.nu
+++ b/nu-git-manager/mod.nu
@@ -92,12 +92,14 @@ export def "gm clone" [
                 (metadata $depth).span
         )}
 
+        log debug "cloning the repo"
         if $bare {
             ^git clone $urls.fetch $local_path --origin $remote --depth $depth --bare
         } else {
             ^git clone $urls.fetch $local_path --origin $remote --depth $depth
         }
     } else {
+        log debug "cloning the repo"
         if $bare {
             ^git clone $urls.fetch $local_path --origin $remote --bare
         } else {
@@ -105,6 +107,7 @@ export def "gm clone" [
         }
     }
 
+    log debug "setting up the remote"
     ^git -C $local_path remote set-url $remote $urls.fetch
     ^git -C $local_path remote set-url $remote --push $urls.push