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

Fix typos in config support info #1531

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

EliahKagan
Copy link
Contributor

This fixes #1530 and makes some other minor improvements.

  • core.looseCompression - use canonical capitalization for key
  • core.packedGitLimit - work well on 64-bit, not 32-bit (#1530)
  • core.sparseCheckoutCone - fix misspelled sparseCheckout ref
  • submodule.recurse - fix minor spelling typo

Further improvements are possible, such as to unify the style of the explanations so that they all follow the same capitalization and quoting conventions. I believe that should be done, but since I may inquire about other substantive areas soon anyway (as I did in #1530), I think that can wait until a subsequent PR.

This information is available by API, so maybe this should be a conventional commit? I can easily amend this so the commit message starts with fix: if you like. This seems like a gray area with respect to whether fix: ought to be used.

- `core.looseCompression` - use canonical capitalization for key
- `core.packedGitLimit` - work well on 64-bit, not 32-bit (Byron#1530)
- `core.sparseCheckoutCone` - fix misspelled `sparseCheckout` ref
- `submodule.recurse` - fix minor spelling typo
Copy link
Owner

@Byron Byron left a comment

Choose a reason for hiding this comment

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

Thanks a lot, appreciated!

This information is available by API, so maybe this should be a conventional commit? I can easily amend this so the commit message starts with fix: if you like. This seems like a gray area with respect to whether fix: ought to be used.

That's an interesting question - I'd think of it as documentation change or fix, for which there could be the doc: prefix, but I never tried it before and only hope it works.

I think that and more can be tried in a subsequent PR, let's not let this one wait any longer (as the effect of not having it in the changelog is probably very minor).

@Byron Byron merged commit 25a3f1b into Byron:main Aug 22, 2024
19 checks passed
@EliahKagan EliahKagan deleted the progress-typos branch August 22, 2024 11:22
EliahKagan added a commit to EliahKagan/gitoxide that referenced this pull request Aug 22, 2024
This builds on b31d6b7 (Byron#1531) by adjusting the capitalization and
quoting style of string arguments in `progress.rs` that help
document the status of what configuration options are and are not
planned.

- Since I believe these strings are not usually rendered as
  Markdown, and most places that code formatting in Markdown would
  be used were already written with single quotes, this applies
  that quoting style consistently.

- This applies initial capitalization, which was sometimes but not
  always done. It does not apply a consistent style for when a
  string will end in a `.`, which seems already to differ
  deliberately for reasons of clarity. That can be adjusted later.

- A small amount of minor rewording for clarity is also included.
@EliahKagan
Copy link
Contributor Author

I've opened #1537 for those further changes.

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.

progress.rs misleadingly claims "we target 32bit systems only"
2 participants