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

--allow-staged flag #127

Closed
Closed
@zackmdavis

Description

@zackmdavis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions