Skip to content

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

Merged
jerry-skydio merged 1 commit into
mainfrom
jerry/revup/main/configswap
Jun 19, 2026
Merged

jerry-skydio merged 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).

@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(-)
3 e176551c aab90897 rebase Jun 19 12:49 PM 0 files changed
4 242888f8 aab90897 diff Jun 19 13:02 PM 4 files changed, 79 insertions(+), 12 deletions(-)
5 63719dac aab90897 diff Jun 19 13:07 PM 1 file changed, 2 insertions(+), 2 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
Comment thread revup/revup.py
@jerry-skydio
jerry-skydio force-pushed the jerry/revup/main/configswap branch from 76454ad to e176551 Compare June 19, 2026 19:49
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
jerry-skydio force-pushed the jerry/revup/main/configswap branch 2 times, most recently from 242888f to 63719da Compare June 19, 2026 20:07
@jerry-skydio
jerry-skydio merged commit f0d4e72 into main Jun 19, 2026
5 checks passed
@jerry-skydio
jerry-skydio deleted the jerry/revup/main/configswap branch June 19, 2026 20:14
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