diff --git a/apps/web/src/components/git-toolbar.tsx b/apps/web/src/components/git-toolbar.tsx index 31a8f07..04556c3 100644 --- a/apps/web/src/components/git-toolbar.tsx +++ b/apps/web/src/components/git-toolbar.tsx @@ -18,6 +18,7 @@ interface GitToolbarProps { currentBranch: string; branches: string[]; hasRemote: boolean; + isMirror: boolean; onBranchChange: (branch: string) => void; onRefresh: () => void; } @@ -28,6 +29,7 @@ export const GitToolbar = ({ currentBranch, branches, hasRemote, + isMirror, onBranchChange, onRefresh, }: GitToolbarProps) => { @@ -136,7 +138,13 @@ export const GitToolbar = ({ return (
{error &&
{error}
} - + {isMirror && ( +
+ This repository is a bare mirror. + Editing, committing, pulling, and merging are not available. + Delete and recreate it to enable full workspace features. +
+ )}