Skip to content

Commit

Permalink
Fix squash message warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Aug 15, 2021
1 parent 1097171 commit cfaedbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,11 @@ pub fn squash_index(env: &Environment) -> Result<(), PerformError> {
let now = Utc::now().format("%Y-%m-%d");
let original_head = repo.head_oid()?.to_string();
let msg = format!("Collapse index into one commit\n\n\
\n\
Previous HEAD was {}, now on the `snapshot-{}` branch\n\n\
\n\
More information about this change can be found [online] and on [this issue].\n\n\
\n\
[online]: https://internals.rust-lang.org/t/cargos-crate-index-upcoming-squash-into-one-commit/8440\n\
[this issue]: https://github.com/rust-lang/crates-io-cargo-teams/issues/47", original_head, now);

Expand Down

0 comments on commit cfaedbe

Please sign in to comment.