Skip to content

Migrate from git-diff to diff-so-fancy #65

Open
@IvanIvanoff

Description

@IvanIvanoff

One problem with git diff is that there is no (to my knowledge) way to combine showing a green + row and a - row and adding different color to the actual changes on the row at the same time.

I'll illustrate the issue with a screenshot. In the following diff, it would be nice to have the path_out in the - row and another_path_output_var in the + row highlighted as the actual change.
image

I propose migrating from using the default git diff to diff-so-fancy.

Here is a screenshot with of same diff after changing my gitconfig so it uses diff-so-fancy:
image

I have personally not used diff-so-fancy. When I started searching for solutions to the problem this was what I found and liked the most. This is similar to how github shows the diff but I don't know what they use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions