Skip to content

Commit cfaedbe

Browse files
committed
Fix squash message warning.
1 parent 1097171 commit cfaedbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/git.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,11 +398,11 @@ pub fn squash_index(env: &Environment) -> Result<(), PerformError> {
398398
let now = Utc::now().format("%Y-%m-%d");
399399
let original_head = repo.head_oid()?.to_string();
400400
let msg = format!("Collapse index into one commit\n\n\
401-
401+
\n\
402402
Previous HEAD was {}, now on the `snapshot-{}` branch\n\n\
403-
403+
\n\
404404
More information about this change can be found [online] and on [this issue].\n\n\
405-
405+
\n\
406406
[online]: https://internals.rust-lang.org/t/cargos-crate-index-upcoming-squash-into-one-commit/8440\n\
407407
[this issue]: https://github.com/rust-lang/crates-io-cargo-teams/issues/47", original_head, now);
408408

0 commit comments

Comments
 (0)