Skip to content

Formatting git hook breaks git add -p workflows #192

@phated

Description

@phated

Since the git commit hook to format code runs on and commits all files that are changed, if you try to use git add -p to stage chunks of a file, the entire file gets committed.

This is really bad for workflows that make a bunch of changes and then chop them up into digestible commits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions