Skip to content
Myr

Workaround for bug with gitinored files

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This is a workaround for https://github.com/BurntSushi/ripgrep/issues/2711

authored by Thayne McCombs · committed by David Peter · parent c4094c7 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Fixes: #1461

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/cli.rs+1 added-1 removed
640 unmodified lines
641 &self.path642 } else if !self.search_path.is_empty() {643 &self.search_path644 } else {645 let current_directory = Path::new(".");645 let current_directory = Path::new("./");646 ensure_current_directory_exists(current_directory)?;647 return Ok(vec![self.normalize_path(current_directory)]);648 };649 Ok(paths
224 unmodified lines