Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Git ls tree fixes#213

Merged
tclem merged 3 commits intomasterfrom
git-ls-tree-fixes
Aug 1, 2019
Merged

Git ls tree fixes#213
tclem merged 3 commits intomasterfrom
git-ls-tree-fixes

Conversation

@tclem
Copy link
Member

@tclem tclem commented Jul 31, 2019

In the switch to attoparsec parsing of git ls-tree output (see #99) we lost the ability to handle things like commit objects (used for submodules) and other valid modes. Unfortunately things fail by just returning an empty list if parsing fails so this was a little challenging to catch.

This fixes the parsing and adds a test.

Copy link
Contributor

@robrix robrix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch; good catch!


name: semantic
version: 0.6.0.0
version: 0.7.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be a backwards-compatible bugfix, so I think this could be 0.6.0.1?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant to bump this on #212 since that added some new cmd line args, but didn't push the commit before that PR merged.

@tclem tclem merged commit 72b3aed into master Aug 1, 2019
@robrix robrix deleted the git-ls-tree-fixes branch August 1, 2019 14:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants