Skip to content

Git index version 3 support #1960

@sebastianst

Description

@sebastianst

Using git python to add files to an index fails at an index head assertion if the local repo is being otherwise worked on with git 2.46.0:

GitPython/git/index/fun.py

Lines 209 to 210 in cfadd9e

# TODO: Handle version 3: extended data, see read-cache.c.
assert version in (1, 2)

Is it planned to add support for version 3 soon?

I couldn't find any ticket tracking this, so apologies if this is a duplicate.

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