diffparser icon indicating copy to clipboard operation
diffparser copied to clipboard

A Golang package for parsing git diffs

Results 9 diffparser issues
Sort by recently updated
recently updated
newest added

There is a panic that is not caught on the latest release of diffparser that is not caught by `error` handling. I have introduced in my tool, and thought to...

source code ` @@ -3,11 +3,7 @@ const Name = "test" func Add(x int, y int) int { if x > 3 { return x - y } else {...

I am currently working on a differential test coverage analysis tool. It requires having the diff of the changes to detect which lines of code's coverage have changed and keeping...

Add following features: - Support file renamed mode - Support quoted file names - Support binary files

Fix the parser when parsing renamed files which have no changes this can be observed using `git mv ` then `git diff`

![image](https://user-images.githubusercontent.com/1342652/224914098-55f65091-3c41-419b-a2d0-7c8ab752ca82.png) https://user-images.githubusercontent.com/1342652/224879030-fc06971f-4dcb-442c-a8a1-1348bf4dac9e.png since the source contains a line "--------------------------------------" in comment as a segment line, the isSourceLine function just ignore it, i wonder if the condition should be changed as...