Project

General

Profile

Support #5609

Change git diff algorithm

Added by Luke Mauldin 2 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
31.03.2020
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

History

#1 Updated by Luke Mauldin 2 months ago

Is there a way to change the git diff algorithm that is used? With standard git, I can update the algorithm by updating ~/.gitconfig and adding a section like:

[diff]
    algorithm = histogram

Does rhodecode support anything similar? If I just update the ~/.gitconfig for the rhodecode user will that update the algorithm for all git repos?

#2 Updated by Marcin Kuzminski [CTO] 2 months ago

  • Status changed from New to Resolved

We use a pygit2/libgit2 for diffs, there's no support for diff algorithm there.

Also available in: Atom PDF