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 config section for mailmap #1169

Merged
merged 3 commits into from
Dec 10, 2023
Merged

Conversation

bittrance
Copy link
Contributor

While working with #1125, I noticed that there were no config tree constants for mailmap.{blob,file}. This PR adds those keys. They will later be put to use in

.raw_value("mailmap", None, "blob")
and following.

These keys are not used at the moment, but will be introduced
as part of the work performed under Byron#1125.
@bittrance bittrance marked this pull request as ready for review December 9, 2023 21:45
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 for getting the ball rolling on these! I hope these are the last raw usages of configuration keys as well.

When looking at the mailmap code it was clear that it was from earlier times when configuration access was much more 'raw' than it is now - it surely has come a long way already, but also still has some way to go.

This reminds me that trusted_path() and maybe even path() would still have to be overridden (or amended) in some way in order to get automatic path interpolation.

@Byron Byron merged commit 8dda069 into Byron:main Dec 10, 2023
19 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.

None yet

2 participants