Compare commits

..

2 Commits

Author SHA1 Message Date
79dc3ee3b9 Merge pull request 'fix: change git clone --bare to git clone in create_worktree (fixes #57)' (#59) from fix/issue-57-worktree-creation into main 2026-04-01 02:59:43 +02:00
shokollm
6ad51f3c0b fix: change git clone --bare to git clone in create_worktree()
Issue #57: worktree creation was creating bare repos instead of
proper worktrees, breaking parallel agent workflow.

The --bare flag created repos with no working directory, making them
useless for development. Changed to regular clone.
2026-04-01 00:51:05 +00:00

View File

@@ -208,7 +208,7 @@ create_worktree() {
fi
echo "Creating worktree at '$worktree_path'..."
git clone --bare "$repo_url" "$worktree_path" 2>/dev/null || {
git clone "$repo_url" "$worktree_path" 2>/dev/null || {
echo "Error: Failed to clone repository" >&2
exit 1
}