Skip to content

check ArchiveChecker - does it flush? #10055

Description

@ThomasWaldmann

ArchiveChecker never calls repository.flush(), and finish() invalidates the index, so a successful check --repair that re-added references seems to reach close() with a non-empty buffer and trip the same assertion.

The repair tests pass (26 in check_cmd_test.py), so either they don't add references or something flushes that I didn't find.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions