mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
git: remove Default from GitSettings
There weren't non-test callers. It should be better to not duplicate the default values from the default config files.
This commit is contained in:
parent
8aa9d1d362
commit
4ea52e1b63
2 changed files with 90 additions and 101 deletions
|
|
@ -77,18 +77,6 @@ impl GitSettings {
|
|||
}
|
||||
}
|
||||
|
||||
impl Default for GitSettings {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
auto_local_bookmark: false,
|
||||
abandon_unreachable_commits: true,
|
||||
executable_path: PathBuf::from("git"),
|
||||
write_change_id_header: true,
|
||||
colocate: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Commit signing settings, describes how to and if to sign commits.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct SignSettings {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue