tests/t18-status.c


Log

Author Commit Date CI Message
schu ddeaa7fb 2011-09-24T13:41:10 t18-status.c: fix unused warnings Signed-off-by: schu <schu-github@schulog.org>
nulltoken afdf8dcb 2011-09-17T16:28:18 Add some forgotten asserts in the status tests
nulltoken 8320001d 2011-09-17T16:07:28 Fix a off-by-one error in the git_status_foreach tests Provided the tests fail (which they should not) and the callback is invoked too many times, this prevents the tests from segfaulting.
Vicent Marti bcba8460 2011-09-16T05:44:21 Revert changes to t18 ...Ops, I broke the old test when porting it to Clay.
Vicent Marti 11385c3c 2011-09-16T05:12:56 Add sample "Status" clay tests
nulltoken d8b903da 2011-09-11T18:46:08 status: enhance determination of statuses for a whole directory - Should increase performance through usage of a walker - No callback invocation for unaltered entries
nulltoken 56453d34 2011-09-02T13:44:42 status: enhance determination of status for a single file - fix retrieval of a file status when working against a newly initialized repository - reduce memory pressure - prevents a directory from being tested
nulltoken d4760a42 2011-07-12T11:29:36 status: refactor the tests to remove some code duplication
nulltoken 7757be33 2011-07-10T07:48:52 reflog: Fix reflog writer/reader - Use a space to separate oids and signature - Enforce test coverage - Make test run in a temporary folder in order not to alter the test repository
Vicent Marti c52736fa 2011-07-09T15:05:14 status: Cleanup The `hashfile` function has been moved to ODB, next to `git_odb_hash`. Global state has been removed from the dirent call in `status.c`, because global state is killing the rainforest and causing global warming.
Jason Penny 3b2a423c 2011-07-09T00:08:52 status: nonexistent file with git_status_file() Throws GIT_ENOTFOUND error if given a filename that is not in HEAD, index, nor the work tree.
Jason Penny 2b90cc26 2011-07-08T23:51:05 status: consolidate some test code Refactored copy of test repo to a function.
Jason Penny 34dfea27 2011-06-24T20:36:53 status: handle subdirs for git_status_file
Jason Penny 20361b2f 2011-06-23T18:51:22 status: get status for single file Add git_status_file to be able to retrieve status of single file by supplying a path.
Jason Penny 3af6b34a 2011-06-22T18:31:20 status: get file statuses and run callback Add git_status_foreach() to run a callback on each file passing the path and a status value.
Jason Penny 205166d2 2011-06-22T18:19:46 status: get blob object id of file on disk Add git_status_hashfile() to get blob's object id for a file without adding it to the object database or needing a repository at all. This functionality is similar to `git hash-object` without '-w'.