Skip to content

repo.index.add -> check if input is a list #813

Closed
@MarcelBeining

Description

@MarcelBeining

For stupid people like me:
Could you please add a check if the input to repo.index.add(...) is a list, and not a string?
It took me a while to find out that this was the real error behind:

ValueError: Absolute path '\' is not in git repository at 'C:\Users\xxx\yyy\zzz'

:-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions