You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm always frustrated when i update gitui and new key bindings or theme properties are added and because of this ALL keys and themes are set to default values
i see several solutions:
automatically update config/theme when new setting added
more verbose (maybe in message box inside gitui or just to stderr) say to user that new config added or something missing (with key bindings, you can find at least some messages in logs but with themes there is no messages)
load settings that can be loaded and set the missing properties to defaults
The text was updated successfully, but these errors were encountered:
So the pending PR improves diagnostics by printing messages like:
Theme loading error: missing field `selected_tab`
Old file was renamed to "/Users/stephan/.config/gitui/theme.ron.old".
Defaults loaded and saved as "/Users/stephan/.config/gitui/theme.ron"
or
KeyConfig loading error: missing field `diff_stage_lines`
Old config was renamed to "/Users/stephan/.config/gitui/key_config.ron.old".
Default config loaded and saved as "/Users/stephan/.config/gitui/key_config.ron"
into stderr. it will still boot up using the default configs when something goes wrong. but it should be easier to diagnose and fix thanks to this
I'm always frustrated when i update
gitui
and new key bindings or theme properties are added and because of this ALL keys and themes are set to default valuesi see several solutions:
gitui
or just tostderr
) say to user that new config added or something missing (with key bindings, you can find at least some messages in logs but with themes there is no messages)The text was updated successfully, but these errors were encountered: