Show information and data about a git index in a human-readable format
- Go 100%
| vendor/gopkg.in/src-d/go-git.v4 | ||
| .gitignore | ||
| Gopkg.lock | ||
| Gopkg.toml | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
catindex 🐱
Show information and data about a git index in a human-readable format. Basically a 10-minute scratch an itch to show information about a git index, because I was investigating an issue that required looking at the index.
Does not show all extensions because go-git
does not support them all. Although in general you can do an xxd on the index
file to see if it uses any of the unsupported extensions. (They always have a
nice human-readable signature, such as DIRC, TREE, REUC. We support the
tree of them, if you see that there is another likely signature then go-git
probably does not support it yet).
install
go get zxq.co/howl/catindex
usage
# eg. in a git repository
catindex .git/index