Skip to content

chore: get-regexp is deprecated#1253

Closed
Rudxain wants to merge 1 commit into
tj:mainfrom
Rudxain:c-g-re
Closed

chore: get-regexp is deprecated#1253
Rudxain wants to merge 1 commit into
tj:mainfrom
Rudxain:c-g-re

Conversation

@Rudxain
Copy link
Copy Markdown
Contributor

@Rudxain Rudxain commented May 17, 2026

According to the docs, config --get-regexp is deprecated in favor of config get --all --show-names --regexp, so I replaced all the occurrences I've found

Copy link
Copy Markdown
Collaborator

@spacewander spacewander left a comment

Choose a reason for hiding this comment

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

git config get raises the runtime requirement to Git 2.46+. The new git config subcommands were introduced with Git 2.46, while older supported/system Git versions, for example Apple Git 2.39.5, reject git config get --all --show-names --regexp ... with usage output.

Let's keep the old one. Does git have a plan to drop the get-regexp?

@Rudxain
Copy link
Copy Markdown
Contributor Author

Rudxain commented May 18, 2026

raises the runtime requirement to Git 2.46+

oh :(

Does git have a plan to drop the get-regexp?

According to v3.0 docs, not yet, so I guess this PR can be closed

@Rudxain Rudxain closed this May 18, 2026
@Rudxain Rudxain deleted the c-g-re branch May 18, 2026 13:45
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