improve uncommitted changes cargo-package message

fixes #7003

Explicitly state what the suggested flag `--allow-dirty`
actually does when packaging/publishing the crate. Primarily,
that the uncommited changes are included within the resulting
package.
This commit is contained in:
Sekhat Temporus 2019-07-01 18:40:03 +01:00
parent 143aaed0ee
commit 69226ed887
3 changed files with 3 additions and 3 deletions

View file

@ -291,7 +291,7 @@ fn check_repo_state(
failure::bail!(
"{} files in the working directory contain changes that were \
not yet committed into git:\n\n{}\n\n\
to proceed despite this, pass the `--allow-dirty` flag",
to proceed despite this and include the uncommited changes, pass the `--allow-dirty` flag",
dirty.len(),
dirty.join("\n")
)

View file

@ -758,7 +758,7 @@ committed into git:
Cargo.toml
to proceed despite this, pass the `--allow-dirty` flag
to proceed despite this and include the uncommited changes, pass the `--allow-dirty` flag
",
)
.run();

View file

@ -396,7 +396,7 @@ committed into git:
bar
to proceed despite this, pass the `--allow-dirty` flag
to proceed despite this and include the uncommited changes, pass the `--allow-dirty` flag
",
)
.run();