From e344b94d455712d9e753ef235bc6ff0e76fd91f2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 29 May 2026 17:14:38 +0300 Subject: fix(vq): restore version-prefix parsing and stash no-op handling --- internal/sync/sync.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/sync/sync.go') diff --git a/internal/sync/sync.go b/internal/sync/sync.go index 949cb43..048803e 100644 --- a/internal/sync/sync.go +++ b/internal/sync/sync.go @@ -367,10 +367,11 @@ func (s *Syncer) handleWorkingDirectoryState() (bool, error) { } // If we have uncommitted changes but no conflicts, try to stash them - if err := stashChanges(repoPath); err != nil { + stashed, err := stashChanges(repoPath) + if err != nil { return false, fmt.Errorf("failed to stash changes: %w", err) } - return true, nil + return stashed, nil } // checkoutBranch checks out a branch, creating it if necessary -- cgit v1.2.3