Skip to content

Commit 080869e

Browse files
committed
Auto merge of #13817 - rukai:fix_target_gitignore, r=weihanglo
Fix target entry in .gitignore The directories at: * https://github.com/rust-lang/cargo/tree/master/tests/testsuite/cargo_remove/target * https://github.com/rust-lang/cargo/tree/master/tests/testsuite/cargo_add/target Are getting picked up by the `target` entry in .gitignore, causing git to ignore any extra files added to those directories. A minor issue I know, but I still think its worth fixing. ## Alternative An alternative solution would be to rename those directories which I'm more than happy to do. But I think we are better off just changing .gitignore as that is more future proof.
2 parents b74573b + 433635b commit 080869e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
target
2-
Cargo.lock
1+
/target
2+
/Cargo.lock
33
/config.stamp
44
/Makefile
55
/config.mk
6-
src/doc/build
7-
src/etc/*.pyc
8-
src/registry/target
6+
/src/doc/build
7+
/src/etc/*.pyc
8+
/src/registry/target
99
rustc
1010
__pycache__
1111
.idea/

0 commit comments

Comments
 (0)