@@ -22,6 +22,8 @@ impl Core {
2222 /// The `core.disambiguate` key.
2323 pub const DISAMBIGUATE : Disambiguate =
2424 Disambiguate :: new_with_validate ( "disambiguate" , & config:: Tree :: CORE , validate:: Disambiguate ) ;
25+ /// The `core.editor` key.
26+ pub const EDITOR : keys:: Program = keys:: Program :: new_program ( "editor" , & config:: Tree :: CORE ) ;
2527 /// The `core.fileMode` key.
2628 pub const FILE_MODE : keys:: Boolean = keys:: Boolean :: new_boolean ( "fileMode" , & config:: Tree :: CORE ) ;
2729 /// The `core.ignoreCase` key.
@@ -58,10 +60,10 @@ impl Core {
5860 . with_environment_override ( "GIT_ASKPASS" )
5961 . with_note ( "fallback is 'SSH_ASKPASS'" ) ;
6062 /// The `core.excludesFile` key.
61- pub const EXCLUDES_FILE : keys:: Executable = keys:: Executable :: new_executable ( "excludesFile" , & config:: Tree :: CORE ) ;
63+ pub const EXCLUDES_FILE : keys:: Path = keys:: Path :: new_path ( "excludesFile" , & config:: Tree :: CORE ) ;
6264 /// The `core.attributesFile` key.
63- pub const ATTRIBUTES_FILE : keys:: Executable =
64- keys:: Executable :: new_executable ( "attributesFile" , & config:: Tree :: CORE )
65+ pub const ATTRIBUTES_FILE : keys:: Path =
66+ keys:: Path :: new_path ( "attributesFile" , & config:: Tree :: CORE )
6567 . with_deviation ( "for checkout - it's already queried but needs building of attributes group, and of course support during checkout" ) ;
6668 /// The `core.sshCommand` key.
6769 pub const SSH_COMMAND : keys:: Executable = keys:: Executable :: new_executable ( "sshCommand" , & config:: Tree :: CORE )
@@ -102,6 +104,7 @@ impl Section for Core {
102104 & Self :: CHECK_STAT ,
103105 & Self :: DELTA_BASE_CACHE_LIMIT ,
104106 & Self :: DISAMBIGUATE ,
107+ & Self :: EDITOR ,
105108 & Self :: FILE_MODE ,
106109 & Self :: IGNORE_CASE ,
107110 & Self :: FILES_REF_LOCK_TIMEOUT ,
0 commit comments