From eaae69ec448d8b10e835976b742fad39fb31d134 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 25 May 2024 17:27:29 +0800 Subject: [PATCH] some fixes --- modules/git/tree_nogogit.go | 3 --- 1 file changed, 3 deletions(-) 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 }