Skip to content

Add path, no_merges and first_parent options#65

Open
stan-brunau wants to merge 3 commits intoOddBloke:masterfrom
stan-brunau:master
Open

Add path, no_merges and first_parent options#65
stan-brunau wants to merge 3 commits intoOddBloke:masterfrom
stan-brunau:master

Conversation

@stan-brunau
Copy link
Copy Markdown

Added path, no_merges and first_parent options.

path will filter commits that apply to a specific directory or file. I have noticed my build slowing down when using filename_filter on a sufficiently large repository. The use case I need it for is simple enough that I don't need to use a regex. The new path option will leverage the path name filtering that is already present in git through GitPython instead of regex.

no_merges and first_parent will hide merge commits and hide the second parent of merge commits respectively. Their names and functionality are directly analogous to the --no-merges and --first-parent options in git commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants