apply the patches

This commit is contained in:
webdevcody
2026-01-20 10:24:38 -05:00
parent 179c5ae9c2
commit 76eb3a2ac2
42 changed files with 2679 additions and 757 deletions

View File

@@ -160,6 +160,7 @@ interface BranchesResult {
branches: BranchInfo[];
aheadCount: number;
behindCount: number;
hasRemoteBranch: boolean;
isGitRepo: boolean;
hasCommits: boolean;
}
@@ -186,6 +187,7 @@ export function useWorktreeBranches(worktreePath: string | undefined, includeRem
branches: [],
aheadCount: 0,
behindCount: 0,
hasRemoteBranch: false,
isGitRepo: false,
hasCommits: false,
};
@@ -195,6 +197,7 @@ export function useWorktreeBranches(worktreePath: string | undefined, includeRem
branches: [],
aheadCount: 0,
behindCount: 0,
hasRemoteBranch: false,
isGitRepo: true,
hasCommits: false,
};
@@ -208,6 +211,7 @@ export function useWorktreeBranches(worktreePath: string | undefined, includeRem
branches: result.result?.branches ?? [],
aheadCount: result.result?.aheadCount ?? 0,
behindCount: result.result?.behindCount ?? 0,
hasRemoteBranch: result.result?.hasRemoteBranch ?? false,
isGitRepo: true,
hasCommits: true,
};