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
vekemans and josharian align | characters (#1)
Align fields, improve UI. It now matches `git diff --stat` a lot more closely.
Latest commit 0183b12 Oct 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/semdiffstat
doc.go doc: add yet another TODO Oct 3, 2019
go.go
go.mod move to github.com/whatsnu organization Oct 3, 2019
go.sum move to github.com/whatsnu organization Oct 3, 2019
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.