diff --git a/rust/rhg/src/commands/status.rs b/rust/rhg/src/commands/status.rs index 8f76a41ee46571727558c2f797b531c14e00b551_cnVzdC9yaGcvc3JjL2NvbW1hbmRzL3N0YXR1cy5ycw==..70b4c7af9cdb335a8093b516e12ae79df059c5fe_cnVzdC9yaGcvc3JjL2NvbW1hbmRzL3N0YXR1cy5ycw== 100644 --- a/rust/rhg/src/commands/status.rs +++ b/rust/rhg/src/commands/status.rs @@ -578,4 +578,6 @@ let entry_flags = if check_exec { entry.flags + } else if entry.flags == Some(b'x') { + None } else { @@ -581,9 +583,5 @@ } else { - if entry.flags == Some(b'x') { - None - } else { - entry.flags - } + entry.flags }; if entry_flags != fs_flags {