Skip to content

Commit

Permalink
Auto merge of #13817 - rukai:fix_target_gitignore, r=weihanglo
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Apr 29, 2024
2 parents b74573b + 433635b commit 080869e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .gitignore
@@ -1,11 +1,11 @@
target
Cargo.lock
/target
/Cargo.lock
/config.stamp
/Makefile
/config.mk
src/doc/build
src/etc/*.pyc
src/registry/target
/src/doc/build
/src/etc/*.pyc
/src/registry/target
rustc
__pycache__
.idea/
Expand Down

0 comments on commit 080869e

Please sign in to comment.