Skip to content

chore: remove redundant call to require_command() #1143

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 1 commit into from
Jun 11, 2025

Conversation

manueljacob
Copy link
Contributor

In 560a1cb, the call to require_command() was moved from HgWorkdir.from_potential_worktree() to the caller. That caller is the only caller of GitWorkdirHgClient.from_potential_worktree() as well, so it is redundant and can be removed.

In 560a1cb, the call to require_command() was moved from HgWorkdir.from_potential_worktree() to the caller. That caller is the only caller of GitWorkdirHgClient.from_potential_worktree() as well, so it is redundant and can be removed.
@manueljacob manueljacob changed the title chore: remove redundant check to require_command() chore: remove redundant call to require_command() Jun 11, 2025
Copy link
Contributor

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

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

Thanks nice catch

@RonnyPfannschmidt RonnyPfannschmidt merged commit 82253c3 into pypa:main Jun 11, 2025
20 checks passed
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