repositorypackage
0.0.0-20241109231310-7362d587a6fd
Repository: https://github.com/kivattt/gogitstatus.git
Documentation: pkg.go.dev
# README
This library is still in development, and unfit for use
This is a library for finding unstaged/untracked files in local Git repositories
Tested for Linux, FreeBSD and Windows
To try out gogitstatus.Status()
, run the showstatus program:
cd showstatus
go build
./showstatus # In any git repository
To try out gogitstatus.ParseIndex()
, run the showindex program:
cd showindex
go build
./showindex index
Run go test
to run all the tests
Git Index file format resources
https://git-scm.com/docs/index-format (missing some visual separation...)
https://github.com/git/git/blob/master/read-cache.c
TODO
- Support exclude file priority
- Support SHA-256
- Support other Git Index versions besides 2