aboutsummaryrefslogtreecommitdiffstats
path: root/list-objects-filter.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-12-28 10:41:41 -0800
committerJunio C Hamano <gitster@pobox.com>2019-01-15 15:38:29 -0800
commit0aa9d8aa6ce429f0fa04e1ca819ed766c211e242 (patch)
treea1300182f22bf55f45b5769673cabc6535666dd7 /list-objects-filter.h
parentMerge branch 'sb/more-repo-in-api' into md/list-objects-filter-by-depth (diff)
parentrebase-interactive.c: remove the_repository references (diff)
downloadgit-0aa9d8aa6ce429f0fa04e1ca819ed766c211e242.tar.gz
git-0aa9d8aa6ce429f0fa04e1ca819ed766c211e242.zip
Merge branch 'nd/the-index' into md/list-objects-filter-by-depth
Diffstat (limited to 'list-objects-filter.h')
-rw-r--r--list-objects-filter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/list-objects-filter.h b/list-objects-filter.h
index 52b4a84da9..1d45a4ad57 100644
--- a/list-objects-filter.h
+++ b/list-objects-filter.h
@@ -4,6 +4,7 @@
struct list_objects_filter_options;
struct object;
struct oidset;
+struct repository;
/*
* During list-object traversal we allow certain objects to be
@@ -60,6 +61,7 @@ enum list_objects_filter_situation {
};
typedef enum list_objects_filter_result (*filter_object_fn)(
+ struct repository *r,
enum list_objects_filter_situation filter_situation,
struct object *obj,
const char *pathname,