summaryrefslogtreecommitdiff
path: root/tests-clar/repo/hashfile.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-85/+0
|
* Add cl_repo_set_bool and cleanup testsRussell Belfer2013-03-221-4/+1
| | | | | | This adds a helper function for the cases where you want to quickly set a single boolean config value for a repository. This allowed me to remove a lot of code.
* Add tests and improve param checksRussell Belfer2012-09-111-4/+37
| | | | | | | | Fixed some minor `git_repository_hashfile` issues: - Fixed incorrect doc (saying that repo could be NULL) - Added checking of object type value to acceptable ones - Added more tests for various parameter permutations
* Add git_repository_hashfile to hash with filtersRussell Belfer2012-09-111-0/+55
The existing `git_odb_hashfile` does not apply text filtering rules because it doesn't have a repository context to evaluate the correct rules to apply. This adds a new hashfile function that will apply repository-specific filters (based on config, attributes, and filename) before calculating the hash.