Skip to content

Commit

Permalink
Fixed issue vmchale#37
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelMon committed Jul 6, 2022
1 parent 4ad8a7e commit 18ce1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/walk_parallel/single_threaded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pub fn is_artifact(
if REGEX.is_match(path_str) || (path_str == "tags" && vimtags) {
true
} else if let Some(ref x) = *gitignore {
if metadata.permissions().mode() == 0o755 || REGEX_GITIGNORE.is_match(path_str) {
if !metadata.permissions().readonly() || REGEX_GITIGNORE.is_match(path_str) {
x.is_match(full_path)
} else {
false
Expand Down

0 comments on commit 18ce1ea

Please sign in to comment.