Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 382
    • Issues 382
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3240
Closed
Open
Issue created Aug 01, 2018 by Sergio Nalin@sergio.nalin

Allow changing the similarity index threshold

Sometimes a file gets renamed and also changed a lot (e.g.: when converting a Java class to Groovy or Kotlin or vice versa).

If this "a lot" exceeds the 50% default similarity index computed by Git, the diff dialog shows 2 separate entries (delete+add) rather than a single rename/update one, and that makes checking differences harder and more cumbersome.

It would be nice if TortoiseGit could expose the threshold for the similarity index, either in the diff dialog or maybe as a numeric parameter in the advanced settings section.

What version of TortoiseGit and Git are you using? On what operating system?

2.6.0 / Windows 10

Please provide any additional information below.

I'm referring to the -M or --find-renames options documented here: https://git-scm.com/docs/git-diff

This somewhat related to enhancement 3219

Edited Aug 08, 2018 by Sven Strickroth
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking