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.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user