Skip to content
GitHub no longer supports this web browser. Learn more about the browsers we support.
semantic diffstat (experimental)
Go
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/semdiffstat
doc.go
go.go
go.mod
go.sum
license.md
readme.md

readme.md

THIS PACKAGE IS EXPERIMENTAL.

Package semdiffstat calculates semantic diffstats.

Semantic diffstats are intended to present readable, meaningful high level summaries of changes to a human.

This is currently just a quick sketch of what a semantic diffstat might look like, and a very crude implementation for generating one out of two Go files.

There's a little demo command in cmd/semdiffstat. It can be invoked manually:

$ semdiffstat a.go b.go

or as an external git diff tool:

$ GIT_EXTERNAL_DIFF=/path/to/semdiffstat git diff
You can’t perform that action at this time.