diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-08-20 16:56:45 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-09-17 10:48:26 +0200 |
commit | 3aa443a9511f5b9848d314337b226c41ef3eef84 (patch) | |
tree | d270260e838a8c69e46588a948522b4ed16f75ac /src/filter.h | |
parent | e8776d30f7edb570f435cf746d712c696b862bdd (diff) | |
download | libgit2-3aa443a9511f5b9848d314337b226c41ef3eef84.tar.gz |
checkout: introduce git_checkout_tree()
Diffstat (limited to 'src/filter.h')
-rw-r--r-- | src/filter.h | 7 |
1 files changed, 3 insertions, 4 deletions
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 |