summaryrefslogtreecommitdiff
path: root/list-objects-filter.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-11-10 05:48:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-12 05:50:05 (GMT)
commit01d40c8487f62476e722f30ba252359b59f35c33 (patch)
tree36222f1a61785666ecc25c73ab84fc55e85ca659 /list-objects-filter.h
parent788454576f64dc2d830b0e6704175b05db34ce53 (diff)
downloadgit-01d40c8487f62476e722f30ba252359b59f35c33.zip
git-01d40c8487f62476e722f30ba252359b59f35c33.tar.gz
git-01d40c8487f62476e722f30ba252359b59f35c33.tar.bz2
list-objects-filter.c: remove implicit dependency on the_index
While at there, since we have access to struct repository now, eliminate the only the_repository reference in this file. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 52b4a84..1d45a4a 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,