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

VCS: Don't run submodule commands unless necessary #10590

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

9999years
Copy link
Collaborator

Running git submodule commands is harmless but clutters up the logs, making the tests difficult to debug when run in verbose-mode.

Doesn't seem to impact performance much. I measured a ~1.5% speedup with this code, which is well within error margins.

See: https://github.com/haskell/cabal/pull/7625/files#r709617991

@9999years 9999years marked this pull request as ready for review November 22, 2024 21:08
Running `git submodule` commands is harmless but clutters up the logs,
making the tests difficult to debug when run in verbose-mode.

Doesn't seem to impact performance much. I measured a ~1.5% speedup with
this code, which is well within error margins.

See: https://github.com/haskell/cabal/pull/7625/files#r709617991
Copy link
Collaborator

@ulysses4ever ulysses4ever left a comment

Choose a reason for hiding this comment

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

👍

@ulysses4ever
Copy link
Collaborator

No PR template?

I think this is borderline needing a changelog file. Ideally, it wouldn't change anything and won't be noticed, but it is a change in behaviour, strictly speaking. I'd lean on a safe side and add a changelog.

@9999years
Copy link
Collaborator Author

Added a changelog entry! Also added a PR to change the PR template to one I wouldn't delete so much (#10594)

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.

3 participants