Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
TortoiseGit
TortoiseGit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 303
    • Issues 303
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3240

Closed
Open
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
None
Milestone
None
Assign milestone
Time tracking