diff options
author | Russell Belfer <rb@github.com> | 2013-09-12 03:38:33 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-09-17 20:31:45 +0400 |
commit | 4b11f25a4fbb6952284e037a70e2d61fde841ab6 (patch) | |
tree | 41929ce26c3c41183b3fc221927afb67444eadf2 /tests-clar/object | |
parent | 40cb40fab93281c808255d980bbe81a18a4d9e9a (diff) |
Add ident filter
This adds the ident filter (that knows how to replace $Id$) and
tweaks the filter APIs and code so that git_filter_source objects
actually have the updated OID of the object being filtered when
it is a known value.
Diffstat (limited to 'tests-clar/object')
-rw-r--r-- | tests-clar/object/blob/filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/object/blob/filter.c b/tests-clar/object/blob/filter.c index a23f897f9..1e82b69cd 100644 --- a/tests-clar/object/blob/filter.c +++ b/tests-clar/object/blob/filter.c @@ -112,8 +112,8 @@ void test_object_blob_filter__to_odb(void) git_attr_cache_flush(g_repo); cl_git_append2file("empty_standard_repo/.gitattributes", "*.txt text\n"); - cl_git_pass( - git_filter_list_load(&fl, g_repo, "filename.txt", GIT_FILTER_TO_ODB)); + cl_git_pass(git_filter_list_load( + &fl, g_repo, NULL, "filename.txt", GIT_FILTER_TO_ODB)); cl_assert(fl != NULL); for (i = 0; i < NUM_TEST_OBJECTS; i++) { |