Skip to content

How to pass '--first-parent' to Repo.iter_commits() ? #1356

@mbanders

Description

@mbanders

The command git rev-list has a lot of options including a very useful one --first-parent: https://git-scm.com/docs/git-rev-list

Is there a way to pass '--first-parent' as an option to Repo.iter_commits() ?

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