mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Fix git fetch handle deteled refs
This commit is contained in:
1 parent
d8bfa10b43
commit
21e522cba7
2 files changed
+45
-4
No files matched your search
@@ -346,7 +346,7 @@ export function useGitFetch(projectId: string | null) {
|
||||
if (currentBranchChanged && query.data.currentBranch) {
|
||||
toast({
|
||||
title: 'Remote changes detected',
|
||||
description: `The ${query.data.currentBranch} branch has new commits available.`,
|
||||
description: `The ${query.data.currentBranch} branch has ${query.data.currentBranchOid === null ? 'been deleted' : 'new commits available'}.`,
|
||||
variant: 'default',
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user