Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

--allow-staged flag #127

Closed
zackmdavis opened this issue Jul 9, 2018 · 1 comment
Closed

--allow-staged flag #127

zackmdavis opened this issue Jul 9, 2018 · 1 comment

Comments

@zackmdavis
Copy link
Member

As a generalization of --allow-dirty, there could be an --allow-staged flag that lets us run only if there are no unstaged changes in Git (and similarly if Mercurial, Pijul, or Fossil have an analogue of Git's staging area—I'm not familiar), the rationale being that content that has been git added isn't actually in danger of being permanently eaten by a poor suggestion application, because you can git checkout -- . to back out the changes.

@alexcrichton
Copy link
Member

Closing in favor of rust-lang/cargo#5737 now that cargo fix has changed homes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants