Show information and data about a git index in a human-readable format
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Morgan Bazalgette de110e0977 Add everything 6 months ago
vendor/gopkg.in/src-d/go-git.v4 Add everything 6 months ago
.gitignore Initial commit 6 months ago
Gopkg.lock Add everything 6 months ago
Gopkg.toml Add everything 6 months ago
LICENSE Initial commit 6 months ago
README.md Add everything 6 months ago
main.go Add everything 6 months ago

README.md

catindex :cat:

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