Revert "Checkout branch with "force" so it updates the tree"

This reverts commit d13bc84232.

proceed with caution on this as i dont know what you were fixing
with this change
This commit is contained in:
DanConwayDev authored and Alex Gleason committed 2025-11-28 11:34:19 -06:00
1 parent 89de28cb0c
commit 5b8cb25675
4 files changed
-6

No files matched your search

-2
View File
@@ -182,7 +182,6 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog
await git.checkout({
dir: projectPath,
ref: branchName,
force: true,
});
toast({
@@ -1289,7 +1288,6 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog
await git.checkout({
dir: projectPath,
ref: pr.sourceBranch,
force: true,
});
await refetchGitStatus();
toast({
-1
View File
@@ -223,7 +223,6 @@ export function BranchManager({ projectId, currentBranch, onBranchChange }: Bran
await git.checkout({
dir: projectPath,
ref: branchName,
force: true,
});
toast({