Skip to content

Invalid symmetric difference expression #777

@domenkozar

Description

@domenkozar
$ git push
An unexpected error has occurred: CalledProcessError: Command: ('/nix/store/4c12r17gwha2hh6gvc6y2i0s6ckjc09y-git-2.16.2/libexec/git-core/git', 'diff', '--name-only', '--no-ext-diff', '-z', '192a93890ea5100a22a42a73249f7c1e571ebb0b...857ce8997c4f431c06ec52ef0ba1a64983ae945f')
Return code: 128
Expected return code: 0
Output: (none)
Errors:
    fatal: Invalid symmetric difference expression 192a93890ea5100a22a42a73249f7c1e571ebb0b...857ce8997c4f431c06ec52ef0ba1a64983ae945f


Check the log at /home/ielectric/.cache/pre-commit/pre-commit.log

I understand this happens if one rewrites git history, but pre-commit shouldn't fail in that case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions