aboutsummaryrefslogtreecommitdiff
path: root/src/app/api/worktrees.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-28 15:34:13 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-28 15:34:13 +0300
commite16d7d8c07a20f5ee0b4111808680bbcfd7df9ac (patch)
tree2c5c338c6096deaad1487b4b77e71d671e30b842 /src/app/api/worktrees.rs
parent81f355fadac7d0d45b077dfc28f9f679add6bbb6 (diff)
fix: preserve linked worktree workspace labels
Diffstat (limited to 'src/app/api/worktrees.rs')
-rw-r--r--src/app/api/worktrees.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/api/worktrees.rs b/src/app/api/worktrees.rs
index 91a19673..7aa8c00f 100644
--- a/src/app/api/worktrees.rs
+++ b/src/app/api/worktrees.rs
@@ -212,7 +212,7 @@ impl App {
source_checkout_path: space.repo_root.clone(),
source_repo_root: space.repo_root,
repo_key: space.key,
- repo_name: space.label,
+ repo_name: space.repo_name,
};
return Ok(source);
}
@@ -324,7 +324,7 @@ impl App {
source_checkout_path: space.repo_root.clone(),
source_repo_root: space.repo_root,
repo_key: space.key,
- repo_name: space.label,
+ repo_name: space.repo_name,
})
}
@@ -678,7 +678,7 @@ fn worktree_source_from_space(
source_checkout_path: source_checkout_path.clone(),
source_repo_root: source_checkout_path,
repo_key: space.key,
- repo_name: space.label,
+ repo_name: space.repo_name,
}
}