Skip to content

Commit a17535c

Browse files
authored
Rollup merge of rust-lang#67344 - joshtriplett:no-gitignore-of-committed-files, r=Dylan-DPC
.gitignore: Don't ignore a file that exists in the repository .gitignore should not ignore files that exist in the repository. The ignore of .cargo applies to the committed .cargo directory used in an example: $ git ls-files --exclude-standard --ignored src/test/run-make/thumb-none-qemu/example/.cargo/config Explicitly un-ignore that file.
2 parents 55753a6 + 00e7ff4 commit a17535c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,6 @@ config.mk
5555
config.stamp
5656
Session.vim
5757
.cargo
58+
!/src/test/run-make/thumb-none-qemu/example/.cargo
5859
no_llvm_build
5960
# Before adding new lines, see the comment at the top.

0 commit comments

Comments
 (0)