Skip to content

Multiple parent arguments for git.commit_tree() #345

Closed
@StyXman

Description

@StyXman

I'm using GitPython for very advanced stuff, so it's possible that what I need is not really part of the intended public for this project. Anyways...

I'm calling git.comit_tree(), which in turn calls git commit-tree. the problem is that the command allows to specify several parents by using several times the -p option, but the way that GitPython creates these arguments for the command, it's not possible.

I was thinking of allowing things like git.commit_tree(.., p=[p1, p2]) and the command processing core resolve that to -p p1 -p p2. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions