Skip to content

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

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions