diff --git a/modules/git/tree_nogogit.go b/modules/git/tree_nogogit.go index 84283f73ed..303666413a 100644 --- a/modules/git/tree_nogogit.go +++ b/modules/git/tree_nogogit.go @@ -105,9 +105,6 @@ func (t *Tree) listEntriesRecursive(ctx context.Context, extraArgs TrustedCmdArg t.entriesRecursive = append(t.entriesRecursive, entry) return nil }, extraArgs) - if err == nil { - t.entriesRecursiveParsed = true - } return t.entriesRecursive, err }