Review comments
Dependencies
- [2]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [3]
YW6NICQVMigrate codebase to refactored `pijul_config` crate - [4]
HGJETVANCreate `pijul_config::global_config_directory()` - [5]
FIMDS32ZUse subcommand-specific repository config paths
Change contents
- edit in pijul-config/src/lib.rs at line 230
// REVIEW: This changed from a global config file to a// config directory// While I'm in favour of this change and generally like it.// i.e. it also fixes the question where the "identities" directory// is based on the "~/.pijulconfig" file// However in theory this is breaking. - edit in pijul/src/main.rs at line 221
// REVIEW: Is there not a better way to get the repository root path// i.e. how about following steps:// 1. run something like Repository::find_repository_root project independent// I guess for this to work properly the "repository" option should be moved// from the common_opts to the Opts struct with "global = true" set// 2. load configuration - edit in pijul/src/commands/pushpull.rs at line 278
//REVIEW: I guess we could inform the user here if there went// something wrong during the command "pijul remote default" - edit in pijul/src/commands/diff.rs at line 360
//REVIEW: I don't get what the pager has to do with the coloring// Probably the pager stuff should also be refactored