From 3aa443a9511f5b9848d314337b226c41ef3eef84 Mon Sep 17 00:00:00 2001 From: nulltoken Date: Mon, 20 Aug 2012 16:56:45 +0200 Subject: checkout: introduce git_checkout_tree() --- src/filter.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/filter.h') diff --git a/src/filter.h b/src/filter.h index 5b7a25b04..d58e173f9 100644 --- a/src/filter.h +++ b/src/filter.h @@ -124,11 +124,10 @@ extern int git_text_is_binary(git_text_stats *stats); * Get the content of a blob after all filters have been run. * * @param out buffer to receive the contents - * @param repo repository containing the blob - * @param oid object id for the blob - * @param path path to the blob's output file, relative to the workdir root + * @param hintpath path to the blob's output file, relative to the workdir root. + * Used to determine what git filters should be applied to the content. * @return 0 on success, an error code otherwise */ -extern int git_filter_blob_contents(git_buf *out, git_repository *repo, const git_oid *oid, const char *path); +extern int git_filter_blob_content(git_buf *out, git_blob *blob, const char *hintpath); #endif -- cgit v1.2.1