Skip to content

Porcelain add() does not work relative paths, or a directory on Windows #575

Open
@MattSable

Description

@MattSable

porcelain.add() only works if the filepaths are absolute paths. You cannot specify a directory either, you must pass a list of files. I would expect

porcelain.add(repo, repo.path)

should stage all files in the repo. Instead, nothing gets staged.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions