Don't count failed loads as loading; explain missing gitlink

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 20:09:59 +02:00
co-authored by Claude Sonnet 5.5
parent 633de5aab1
commit 69d0f9b704
3 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -42,7 +42,9 @@ func View(t theme.Theme, repo *submodule.Repo, fetch Fetch, spinner string, widt
submodule.Walk(repo.Submodules, func(s *submodule.Submodule) {
total++
if s.Status == nil {
loading++
if s.Err == nil {
loading++
}
return
}
if s.Status.PinStaged {