Skip to content

Commit 8054ed4

Browse files
Merge pull request #877 from tmiasko/apply
Remove incorrect and redundant options from git apply command line
2 parents d6d0634 + f45e40d commit 8054ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/src/execute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,7 @@ impl Patch {
15501550
log::debug!("applying {} to {:?}", self.name, dir);
15511551

15521552
let mut cmd = Command::new("git");
1553-
cmd.current_dir(dir).args(&["apply"]).args(&["-Np1"]).arg(&*self.path);
1553+
cmd.current_dir(dir).args(&["apply"]).arg(&*self.path);
15541554

15551555
command_output(&mut cmd)?;
15561556

0 commit comments

Comments
 (0)