-
Notifications
You must be signed in to change notification settings - Fork 535
Git::Lib#ls_tree ignore other types fix #476
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
Conversation
If `git ls-tree` includes items other than blobs and trees, Git::Lib.ls_tree fails to either interpret or ignore the items. Until first-class support is available, ignore types other than these two. No mechanism for logging or otherwise recording this action is available, so, the unknown types are ignored silently. (Debug logging elsewhere does include the entire `git ls-tree` output.) Signed-off-by: Matthew Cary <98661+stujapa@users.noreply.github.com>
49d808e
to
391ce68
Compare
Hi @jcouball – could you please review? If I've missed something in CONTRIBUTING, please let me know. Thanks! |
Hi @jcouball / @perlun / @tarcinil – could you please review? |
Hi @rvodden / @perlun / @tarcinil – please, could you review this PR? |
Thank you, @stujapa for this PR. Sorry I haven't gotten to it in a more timely manner. In terms of functionality, I think this PR is fine. Here is some general feedback about the tests that I wanted to run by you:
This project's documentation could stand for some improvement. Right now, the most accessible and reliable documentation (other than the code) seems to be the README.md. Can you add an example for |
You can see an example of using a different fixture in |
I re-ran the build and the status was updated. Not sure why it wasn't updating before. |
Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.
Description
If
git ls-tree
includes items other than blobs and trees, Git::Lib.ls_treefails to either interpret or ignore the items.
Until first-class support is available, ignore types other than these two. No
mechanism for logging or otherwise recording this action is available, so, the
unknown types are ignored silently. (Debug logging elsewhere does include the
entire
git ls-tree
output.)fixes #475