Skip to content

Commit

Permalink
Add core.editor key
Browse files Browse the repository at this point in the history
  • Loading branch information
lewiscowper committed Dec 12, 2023
1 parent 7549559 commit ff71e07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gix/src/config/tree/sections/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ impl Core {
/// The `core.disambiguate` key.
pub const DISAMBIGUATE: Disambiguate =
Disambiguate::new_with_validate("disambiguate", &config::Tree::CORE, validate::Disambiguate);
/// The `core.editor` key.
pub const EDITOR: keys::Executable = keys::Executable::new_executable("editor", &config::Tree::CORE);
/// The `core.fileMode` key.
pub const FILE_MODE: keys::Boolean = keys::Boolean::new_boolean("fileMode", &config::Tree::CORE);
/// The `core.ignoreCase` key.
Expand Down Expand Up @@ -102,6 +104,7 @@ impl Section for Core {
&Self::CHECK_STAT,
&Self::DELTA_BASE_CACHE_LIMIT,
&Self::DISAMBIGUATE,
&Self::EDITOR,
&Self::FILE_MODE,
&Self::IGNORE_CASE,
&Self::FILES_REF_LOCK_TIMEOUT,
Expand Down

0 comments on commit ff71e07

Please sign in to comment.