Print a clear warning when including untracked files in package.
Admonition the user to track or ignore these files in git.
See issue #1584.
Cargo should help the author for two reasons:
- If the file is untracked, it might be lost and an important part of a working package is lost
- It might alert the author to junk. It happens easily, perf.data, files you saved to test, logs
If it's about empty directories, tell the crate author to use the standard workaround (.gitignore inside to make it non-empty).