tests/blame/simple.c


Log

Author Commit Date CI Message
Patrick Steinhardt cb1cb24c 2015-11-24T10:18:58 blame: use size_t for line counts in git_blame_hunk It is not unreasonable to have versioned files with a line count exceeding 2^16. Upon blaming such files we fail to correctly keep track of the lines as `git_blame_hunk` stores them in `uint16_t` fields. Fix this by converting the line fields of `git_blame_hunk` to `size_t`. Add test to verify behavior.
Vicent Marti 0f65733b 2014-04-02T18:50:47 Clar: skip tests
Russell Belfer ada157b2 2014-04-02T07:45:16 Add warning when skipping blame test
Russell Belfer d1a09004 2014-04-01T21:58:48 Skip blame libgit2 test if not in libgit2 repo One blame test replies on being run from within the libgit2 repository to leverage having a longer history to play with, but some bundled versions of libgit2 don't have the whole libgit2 history. This just skips that test if the repository can't be opened.
Juan Rubén 0276f0f5 2014-02-26T19:22:19 Reset num_parents to 1 only for merge commits Also, correct test case to account for the boundary flag
Juan Rubén 9e3b901a 2014-02-24T00:09:29 Add unit test
Ben Straub 17820381 2013-11-14T14:05:52 Rename tests-clar to tests