Skip to content

Commit 99eb3fd

Browse files
committed
Auto merge of #8671 - pjmore:master, r=alexcrichton
Fixed the fossil repo initialization actually run commands I noticed that when using fossil cargo new would not ignore the target directory and that the commands to do so weren't being executed. I wasn't sure if opening an issue was needed as the fix is extremely simple, if an issue is needed I can create one.
2 parents 2ab080c + d27170e commit 99eb3fd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/cargo/util/vcs.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,16 @@ impl FossilRepo {
9191
.cwd(cwd)
9292
.arg("settings")
9393
.arg("ignore-glob")
94-
.arg("target");
94+
.arg("target")
95+
.exec()?;
96+
9597
process("fossil")
9698
.cwd(cwd)
9799
.arg("settings")
98100
.arg("clean-glob")
99-
.arg("target");
101+
.arg("target")
102+
.exec()?;
103+
100104
Ok(FossilRepo)
101105
}
102106
}

0 commit comments

Comments
 (0)