8000 plumbing: object, Optimize logging with file. by onee-only · Pull Request #1046 · go-git/go-git · GitHub
[go: up one dir, main page]

Skip to content

plumbing: object, Optimize logging with file. #1046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
plumbing: object, Apply memoization in (*treeNoder).Children.
  • Loading branch information
onee-only committed Mar 10, 2024
commit b274b225bf92f086d8e59d023ed436e97ed14062
4 changes: 3 additions & 1 deletion plumbing/object/treenoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ func (t *treeNoder) Children() ([]noder.Noder, error) {
}
}

return transformChildren(parent)
var err error
t.children, err = transformChildren(parent)
return t.children, err
}

// Returns the children of a tree as treenoders.
Expand Down
0