Skip to content

Commit d27170e

Browse files
committed
Modified the fossil repo initialization function to run the commands to
set the target directory as ignoreable and cleanable.
1 parent 126907a commit d27170e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/cargo/util/vcs.rs

Lines changed: 6 additions & 2 deletions
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)