summaryrefslogtreecommitdiff
path: root/tests/index/read_index.c
Commit message (Collapse)AuthorAgeFilesLines
* index: include conflicts in `git_index_read_index`ethomson/read_index_conflictsEdward Thomson2016-06-291-0/+104
| | | | | | Ensure that we include conflicts when calling `git_index_read_index`, which will remove conflicts in the index that do not exist in the new target, and will add conflicts from the new target.
* test: ensure we can round-trip a written treeEdward Thomson2016-06-021-0/+23
| | | | | Read a tree into an index, write the index, then re-open the index and ensure that we are treesame to the original.
* round-trip trees through index_read_indexEdward Thomson2016-06-021-0/+32
| | | | | | | Read a tree into an index using `git_index_read_index` (by reading a tree into a new index, then reading that index into the current index), then write the index back out, ensuring that our new index is treesame to the tree that we read.
* index: introduce git_index_read_indexEdward Thomson2015-05-111-0/+73