Skip to content

config: Add .git/.revupconfig and reorder precedence#260

Open
jerry-skydio wants to merge 1 commit into
mainfrom
jerry/revup/main/configswap
Open

config: Add .git/.revupconfig and reorder precedence#260
jerry-skydio wants to merge 1 commit into
mainfrom
jerry/revup/main/configswap

Conversation

@jerry-skydio

Copy link
Copy Markdown
Collaborator

Adds support for a per-checkout config at .git/.revupconfig with the
highest file precedence: .git/.revupconfig > repo/.revupconfig >
~/.revupconfig.

This allows users to specify custom overrides without needing to either
commit or ignore the changes. It also allows us to swap ~/.revupconfig
to now taking the lowest precedence. The original reason it was above
repo config was because we wanted a way for the user to override the
config provided by the repo. However now the config inside.git provides
that, and having ~/ be lowest precedence is more similar to the
functionality of other dotfiles (like gitconfig).

Adds support for a per-checkout config at .git/.revupconfig with the
highest file precedence: .git/.revupconfig > repo/.revupconfig >
~/.revupconfig.

This allows users to specify custom overrides without needing to either
commit or ignore the changes. It also allows us to swap ~/.revupconfig
to now taking the lowest precedence. The original reason it was above
repo config was because we wanted a way for the user to override the
config provided by the repo. However now the config inside.git provides
that, and having ~/ be lowest precedence is more similar to the
functionality of other dotfiles (like gitconfig).
@jerry-skydio

Copy link
Copy Markdown
Collaborator Author

Reviews in this chain:
#260 config: Add .git/.revupconfig and reorder precedence

@jerry-skydio

jerry-skydio commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator Author
# head base diff date summary
0 38e8d358 3417332b diff Jun 9 16:05 PM 5 files changed, 99 insertions(+), 11 deletions(-)
1 75dc9efa 3417332b diff Jun 9 16:23 PM 4 files changed, 50 insertions(+), 3 deletions(-)
2 76454ad6 3417332b diff Jun 9 17:09 PM 1 file changed, 3 insertions(+), 9 deletions(-)

@jerry-skydio jerry-skydio force-pushed the jerry/revup/main/configswap branch 2 times, most recently from 75dc9ef to 76454ad Compare June 10, 2026 00:09
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.

1 participant