Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make it easier to pass dirdiff args for one invocation #259

Open
@danvk

Description

For a recent diff, I wanted git webdiff to be more aggressive about finding rename + change. git diff supports this via -M2 which only requires 20% overlap for a delete/add pair to count as a move.

The only way I could find to pass this to webdiff was to add this to my .gitconfig:

[webdiff]
 extraDirDiffArgs = "-M2"

It would be nice if there were an environment variable or command-line flag I could pass to set this for a single invocation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /