summaryrefslogtreecommitdiff
path: root/tests/index/conflicts.c
Commit message (Collapse)AuthorAgeFilesLines
* index: include conflicts in `git_index_read_index`ethomson/read_index_conflictsEdward Thomson2016-06-291-8/+1
| | | | | | 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.
* tests: use legitimate object idsEdward Thomson2016-02-281-21/+13
| | | | | Use legitimate (existing) object IDs in tests so that we have the ability to turn on strict object validation when running tests.
* Failing test for case sensitive conflicts in the indexnulltoken2015-11-121-0/+91
|
* introduce `git_index_entry_is_conflict`Edward Thomson2015-05-281-2/+2
| | | | | | | | | It's not always obvious the mapping between stage level and conflict-ness. More importantly, this can lead otherwise sane people to write constructs like `if (!git_index_entry_stage(entry))`, which (while technically correct) is unreadable. Provide a nice method to help avoid such messy thinking.
* conflict tests: use GIT_IDXENTRY_STAGE_SETEdward Thomson2015-05-281-10/+10
|
* index: validate mode of new conflictsEdward Thomson2015-05-281-1/+8
|
* conflicts: when adding conflicts, remove stagedEdward Thomson2015-05-281-0/+50
| | | | | | When adding a conflict for some path, remove the staged entry. Otherwise, an illegal index (with both stage 0 and high-stage entries) would result.
* Introduce cl_assert_equal_oidEdward Thomson2014-07-011-13/+13
|
* index: rename an entry's id to 'id'Carlos Martín Nieto2014-01-251-20/+20
| | | | This was not converted when we converted the rest, so do it now.
* Rename tests-clar to testsBen Straub2013-11-141-0/+287