From 4b11f25a4fbb6952284e037a70e2d61fde841ab6 Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Wed, 11 Sep 2013 16:38:33 -0700 Subject: 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. --- src/diff_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/diff_file.c') diff --git a/src/diff_file.c b/src/diff_file.c index e0e244b65..d02787c75 100644 --- a/src/diff_file.c +++ b/src/diff_file.c @@ -311,7 +311,7 @@ static int diff_file_content_load_workdir_file( goto cleanup; if ((error = git_filter_list_load( - &fl, fc->repo, fc->file->path, GIT_FILTER_TO_ODB)) < 0) + &fl, fc->repo, NULL, fc->file->path, GIT_FILTER_TO_ODB)) < 0) goto cleanup; /* if there are no filters, try to mmap the file */ -- cgit v1.2.1