Skip to content

Conversation

@sindrets
Copy link
Owner

(resolves #244)

This adds the git-pickaxe options to file history. Git-pickaxe allows you to filter commits to the subset that has patch text matching a given pattern (regex). These options are available both as flag options passed to :DiffviewFileHistory and through the file history option panel.

                                                *:DiffviewFileHistory*
:[range]DiffviewFileHistory [paths] [options]

    ...

    Options:~

        ...

        -G{pattern}     Look for differences whose patch text contains
                        added/removed lines that match {pattern} (extended
                        regular expression).

        -S{pattern}     Look for differences that change the number of
                        occurences of the specified {pattern} (extended
                        regular expression) in a file.

@sindrets sindrets merged commit d2d9b18 into main Nov 20, 2022
@sindrets sindrets deleted the feat/git-pickaxe branch November 20, 2022 13:06
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.

FR: Support for git pickaxe for :DiffviewFileHistory

2 participants