diff options
Diffstat (limited to 'vendor/gix-index/README.md')
-rw-r--r-- | vendor/gix-index/README.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/gix-index/README.md b/vendor/gix-index/README.md new file mode 100644 index 000000000..f239be693 --- /dev/null +++ b/vendor/gix-index/README.md @@ -0,0 +1,11 @@ + +#### 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 + +```shell + ./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. |