Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit Modified Lines #622

Closed
shanedasilva opened this issue Oct 19, 2017 · 1 comment
Closed

Commit Modified Lines #622

shanedasilva opened this issue Oct 19, 2017 · 1 comment
Assignees

Comments

@shanedasilva
Copy link
Contributor

Is there any way to get access to modified lines vs deleted lines. I've asked about --word-diff in the past which isn't on the roadmap but hoping there is a way to handle this case.

@ajnavarro
Copy link
Contributor

Hi,

The diff output only support 3 kind of lines in a diff by now: added, deleted and unmodified.

To know if a line is a modified version of another previous line, you should obtain a "similarity ratio" or something like that using modified lines on the new file version, and non-deleted lines from the previous version.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants