fix: better handling of gitignore (once)
This commit is contained in:
1 parent
4695570c34
commit
4c437cbea2
4 files changed
+7
-7
No files matched your search
@@ -49,8 +49,6 @@ export const GitSidebar: React.FC = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
await window.electronAPI.git.ensureGitignore(resolvedProjectPath);
|
||||
|
||||
const repoState = await window.electronAPI.git.getRepoState(resolvedProjectPath);
|
||||
setIsRepo(repoState.isRepo);
|
||||
setCurrentBranch(repoState.currentBranch || null);
|
||||
|
||||
Reference in new issue
Block a user