diff options
Diffstat (limited to 'internal/sync/sync.go')
| -rw-r--r-- | internal/sync/sync.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/sync/sync.go b/internal/sync/sync.go index 2f05110..949cb43 100644 --- a/internal/sync/sync.go +++ b/internal/sync/sync.go @@ -324,7 +324,11 @@ func (s *Syncer) syncBranch(branch string, remotes map[string]*config.Organizati return err } if stashed { - defer popStash(repoPath) + defer func() { + if err := popStash(repoPath); err != nil { + fmt.Printf(" Warning: %v\n", err) + } + }() } // Create or checkout the branch |
