Skip to content

Commit b797055

Browse files
committed
fix: set ConfigLevel to corret integer
1 parent 0ea1c39 commit b797055

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ pub enum BranchType {
363363
#[derive(PartialEq, Eq, Debug, Copy, Clone)]
364364
pub enum ConfigLevel {
365365
/// System-wide on Windows, for compatibility with portable git
366-
ProgramData,
366+
ProgramData = 1,
367367
/// System-wide configuration file, e.g. /etc/gitconfig
368368
System,
369369
/// XDG-compatible configuration file, e.g. ~/.config/git/config
@@ -375,7 +375,7 @@ pub enum ConfigLevel {
375375
/// Application specific configuration file
376376
App,
377377
/// Highest level available
378-
Highest,
378+
Highest = -1,
379379
}
380380

381381
/// Merge file favor options for `MergeOptions` instruct the file-level

0 commit comments

Comments
 (0)