Refactor iterate git tree

This commit is contained in:
Lunny Xiao 2024-05-25 17:18:19 +08:00
parent b4306dec58
commit 7bd86c731c

View File

@ -105,6 +105,9 @@ 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
}