From fe6f042bdcbed7125ac98211b47144e08479ab7f Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 24 May 2025 19:33:55 +0200 Subject: [PATCH] Revert configuration for consistency --- main.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/main.js b/main.js index eae219b..89f052f 100644 --- a/main.js +++ b/main.js @@ -20,7 +20,6 @@ const store = new Store({ intelligentCommitThreshold: 100 } }); - let folders = store.get('folders'); if (Array.isArray(folders)) { @@ -197,8 +196,6 @@ function stopMonitoringWatcher(folderPath) { } } - - // ---- Rewrite Git Messages with LLM generated messages ---- // ---- 1. Commits & Diffs für LLM sammeln ---- @@ -309,9 +306,6 @@ function parseLLMCommitMessages(rawOutput) { throw new Error('Could not parse LLM output:\n' + rawOutput); } - - - // --- Hauptfunktion --- /** * Rewords commit messages for each hash (oldest to newest) using git rebase -i in a loop. @@ -359,7 +353,6 @@ async function rewordCommitsSequentially(repoPath, commitMessageMap, hashes) { console.log('[AutoGit] All specified commit messages updated!'); } - // ---- 6. Komplett-Workflow (Randomized) ---- async function runLLMCommitRewrite(folderPath, hashes) { // Generate a mapping { hash: message } @@ -415,7 +408,6 @@ function createRewriteScript(mapping) { } - async function autoCommit(folderPath, message) { const git = simpleGit(folderPath); const status = await git.status(); @@ -550,7 +542,6 @@ app.whenReady().then(() => { ]); Menu.setApplicationMenu(menu); - // 1) Beim Start bereits gespeicherte Ordner überwachen und monitoren const folders = store.get('folders') || []; folders.forEach(folderObj => {