Skip to content

Index updates vs. submodules #2514

Closed
Closed
@tiennou

Description

@tiennou

I'm trying to port GitX index-wrangling code over to Objective-Git, and I'm getting back an error when calling (indirectly) git_index_update_all : "Failed to read file into stream: Is a directory". After taking a closer look, that error happens here because the path being processed is actually a changed submodule and not a plain file, so the update fails.

Am I'm doing it wrong, or is it not handled ?

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