You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running cargo vendor removes the /vendor/ directory, including any .git directory if one exists. I'd like to use git to manage the vendor, as a git module; but it is currently hostile to that plan.
Steps
use git
try cargo vendor
realize vendor didn't appreciate git
Possible Solution(s)
Remove the contents of the /vendor/ making an exception for anything starting with a dot.
The text was updated successfully, but these errors were encountered:
`cargo vendor`: Don't delete hidden top-level files.
`cargo vendor` (without `--no-delete`) will delete all files in the `vendor/` directory when it starts. This changes it so that it will skip any entries starting with a dot. This allows one to track the vendor directory with a source control system like git.
Closes#7109
(Note: two commits, one is a test change.)
Running
cargo vendor
removes the /vendor/ directory, including any .git directory if one exists. I'd like to use git to manage the vendor, as a git module; but it is currently hostile to that plan.Steps
Possible Solution(s)
Remove the contents of the /vendor/ making an exception for anything starting with a dot.
The text was updated successfully, but these errors were encountered: