Show information and data about a git index in a human-readable format
Find a file
Morgan Bazalgette de110e0977 Add everything
2018-06-14 09:14:17 +02:00
vendor/gopkg.in/src-d/go-git.v4 Add everything 2018-06-14 09:14:17 +02:00
.gitignore Initial commit 2018-06-13 12:42:08 +02:00
Gopkg.lock Add everything 2018-06-14 09:14:17 +02:00
Gopkg.toml Add everything 2018-06-14 09:14:17 +02:00
LICENSE Initial commit 2018-06-13 12:42:08 +02:00
main.go Add everything 2018-06-14 09:14:17 +02:00
README.md Add everything 2018-06-14 09:14:17 +02:00

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