-
Notifications
You must be signed in to change notification settings - Fork 893
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
TreeDefinition.Remove fails to remove unwrapped trees. #1869
Comments
The tree entry is removed here, but the private field unwrapped tree is not removed unless it already has no subentries. When the tree is built from the definition, the still-present unwrapped tree reintroduces what should have been removed. |
tyrielv
added a commit
to tyrielv/libgit2sharp
that referenced
this issue
Feb 11, 2021
bording
pushed a commit
to tyrielv/libgit2sharp
that referenced
this issue
Nov 26, 2024
Fixed by #1870 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are opening a bug report against the LibGit2Sharp project: we
use GitHub Issues for tracking bug reports and feature requests. If
you have a question about an API or usage, please ask on StackOverflow:
http://stackoverflow.com/questions/tagged/libgit2sharp.
Otherwise, to report a bug, please fill out the reproduction steps
(below) and delete these introductory paragraphs. Thanks!
Reproduction steps
Expected behavior
Both
presentInTreeDefinition
andpresentInTree
should be false.Actual behavior
presentInTreeDefinition
is false, butpresentInTree
is true.Version of LibGit2Sharp (release number or SHA1)
0.26.2
Operating system(s) tested; .NET runtime tested
Windows 10, .NET Core 3.1
The text was updated successfully, but these errors were encountered: