Skip to content

Commit

Permalink
WIP fix word size issue? Is this macOS-specific?
Browse files Browse the repository at this point in the history
  • Loading branch information
vermiculus committed Feb 24, 2024
1 parent 93a9334 commit 575e518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ impl fmt::Display for ReferenceType {
impl ConfigLevel {
/// Converts a raw configuration level to a ConfigLevel
pub fn from_raw(raw: raw::git_config_level_t) -> ConfigLevel {
match raw {
match raw >> 12 { // TODO: why!?
raw::GIT_CONFIG_LEVEL_PROGRAMDATA => ConfigLevel::ProgramData,
raw::GIT_CONFIG_LEVEL_SYSTEM => ConfigLevel::System,
raw::GIT_CONFIG_LEVEL_XDG => ConfigLevel::XDG,
Expand Down

0 comments on commit 575e518

Please sign in to comment.