#git #version-control #cli #decode

gix-index

A work-in-progress crate of the gitoxide project dedicated implementing the git index file

18 releases (breaking)

0.24.0 Sep 8, 2023
0.22.0 Aug 22, 2023
0.21.1 Jul 22, 2023
0.15.1 Mar 30, 2023

#92 in Science

Download history 20715/week @ 2023-06-01 25286/week @ 2023-06-08 27260/week @ 2023-06-15 29133/week @ 2023-06-22 33919/week @ 2023-06-29 34666/week @ 2023-07-06 41821/week @ 2023-07-13 40899/week @ 2023-07-20 49274/week @ 2023-07-27 49294/week @ 2023-08-03 43897/week @ 2023-08-10 48382/week @ 2023-08-17 54037/week @ 2023-08-24 74032/week @ 2023-08-31 80344/week @ 2023-09-07 64645/week @ 2023-09-14

281,488 downloads per month
Used in 67 crates (3 directly)

MIT/Apache

490KB
9K SLoC

Test fixtures

Most of the test indices are snatched directly from the unit test suite of git itself, usually by running something like the following

 ./t1700-split-index.sh -r 2 --debug 

Then one finds all test state and the index in particular in trash directory/t1700-split-index/.git/index and can possibly copy it over and use as fixture. The preferred way is to find a test of interest, and use its setup code within one of our own fixture scripts that are executed once to generate the file of interest.


lib.rs:

Feature Flags

Dependencies

~5–16MB
~200K SLoC