Skip to content
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

Add a Commit::parent_tree() helper #3645

Merged
merged 2 commits into from
May 8, 2024
Merged

Add a Commit::parent_tree() helper #3645

merged 2 commits into from
May 8, 2024

Conversation

martinvonz
Copy link
Member

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

We have the type alias so we should use it consistently.
Copy link
Contributor

@yuja yuja left a comment

Choose a reason for hiding this comment

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

Thanks!

lib/src/commit.rs Show resolved Hide resolved
The pattern of getting the parent tree of a commit gets repeated a
bit. Let's add a helper on `Commit`.
@martinvonz martinvonz force-pushed the push-mpwqzsyxynnr branch from 3a81dc4 to 13ea6e8 Compare May 8, 2024 02:27
@martinvonz martinvonz enabled auto-merge (rebase) May 8, 2024 02:27
@martinvonz martinvonz merged commit dbba2ed into main May 8, 2024
16 checks passed
@martinvonz martinvonz deleted the push-mpwqzsyxynnr branch May 8, 2024 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants