fix(git): Löschen-Commit mit -z, G01 beim Löschen mit eigenem Text (Review PR #24)
CI / App (npm ci + Build, ESLint, Stylelint, Jest) (pull_request) Successful in 1m55s
CI / Storage (mongo) (pull_request) Successful in 1m17s
CI / Storage (postgres) (pull_request) Successful in 1m16s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dev-bot BotandClaude Sonnet 5.5 committed 2026-11-25 21:35:43 +00:00
1 parent 2de0e9b976
commit 8ca9688801
4 files changed
+25 -4

No files matched your search

+9
View File
@@ -29,6 +29,15 @@ const GitErrorNavItem = ({ error, clearError, brew })=>{
const code = body.HBErrorCode;
const [busy, setBusy] = useState(false);
if(code === 'G01' && body.operation === 'delete') {
return <Nav.item className='save error' icon='fas fa-exclamation-triangle'>
Konflikt
<div className='errorContainer' onClick={clearError}>
Die Datei wurde im Git-Repository geändert. Der Brew wurde nicht gelöscht. Prüfe die Änderung im Repository und lösche erneut.
</div>
</Nav.item>;
}
if(code === 'G01') {
const keepMine = ()=>{
setGitOverwrite(body.remoteBlobSha ?? 'none');