Skip to content

Commit 1857880

Browse files
committed
Auto merge of #8672 - dtolnay:cachedir, r=alexcrichton
End CACHEDIR.TAG with newline Before: ``` /path/to$ cat target/CACHEDIR.TAG Signature: 8a477f597d28d172789f06886806bc55 # This file is a cache directory tag created by cargo. # For information about cache directory tags see https://bford.info/cachedir//path/to$ ▎ ``` After: ``` /path/to$ cat target/CACHEDIR.TAG Signature: 8a477f597d28d172789f06886806bc55 # This file is a cache directory tag created by cargo. # For information about cache directory tags see https://bford.info/cachedir/ /path/to$ ▎ ```
2 parents 99eb3fd + 87f5ce3 commit 1857880

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cargo/util/paths.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,8 @@ fn exclude_from_backups(path: &Path) {
515515
path.join("CACHEDIR.TAG"),
516516
"Signature: 8a477f597d28d172789f06886806bc55
517517
# This file is a cache directory tag created by cargo.
518-
# For information about cache directory tags see https://bford.info/cachedir/",
518+
# For information about cache directory tags see https://bford.info/cachedir/
519+
",
519520
);
520521
// Similarly to exclude_from_time_machine() we ignore errors here as it's an optional feature.
521522
}

0 commit comments

Comments
 (0)