     } finally {
            isLoading.value = false
          }
        }

        // Step 5: Load commit history
        const loadHistory = async () => {
          if (!repo.value) {
            addLog('No repository initialized', 'error')
            return
          }

          isLoading.value = true
          addLog('Loading commit history...', 'info')

          try {
            const history = await repo.value.log()
            commitHistory.value = history
            addLog(`Loaded ${history.len