Skip to content

git_backend: minor cleanup around extra header parsing #6825

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 3 commits into from
Jun 25, 2025

Conversation

yuja
Copy link
Contributor

@yuja yuja commented Jun 25, 2025

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/updated tests to cover my changes

yuja added 3 commits June 25, 2025 22:22
While the implementation is trivial, it's a bit noisy to have large comment
block around method chains.
Since .extra_headers().find() expects &str, I've changed these constants to
&str.
Inlined the key lookup code instead, which seems more consistent with the other
header handling.
@yuja yuja requested a review from a team as a code owner June 25, 2025 13:30
@yuja yuja added this pull request to the merge queue Jun 25, 2025
Merged via the queue into jj-vcs:main with commit a8772e0 Jun 25, 2025
28 checks passed
@yuja yuja deleted the push-rvqlkqpnukxt branch June 25, 2025 15:06
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