summaryrefslogtreecommitdiff
path: root/ref-filter.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-03-09 13:27:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-10 19:51:30 (GMT)
commit4d4bc41411242028d5670f8f1b305fcd1a7671ad (patch)
tree584c0a955c2462c08cbd6d2b132541c2483e95ec /ref-filter.h
parente0688e9b28f2c5ff711460ee8b62077be5df2360 (diff)
downloadgit-4d4bc41411242028d5670f8f1b305fcd1a7671ad.zip
git-4d4bc41411242028d5670f8f1b305fcd1a7671ad.tar.gz
git-4d4bc41411242028d5670f8f1b305fcd1a7671ad.tar.bz2
ref-filter: move ref_cbdata definition into ref-filter.c
This is an implementation detail of how filter_refs() works, and does not need to be exposed to the outside world. This will become more important in future patches as we add new private data types to it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.h')
-rw-r--r--ref-filter.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/ref-filter.h b/ref-filter.h
index 154e24c..e738c5d 100644
--- a/ref-filter.h
+++ b/ref-filter.h
@@ -71,11 +71,6 @@ struct ref_filter {
verbose;
};
-struct ref_filter_cbdata {
- struct ref_array *array;
- struct ref_filter *filter;
-};
-
/* Macros for checking --merged and --no-merged options */
#define _OPT_MERGED_NO_MERGED(option, filter, h) \
{ OPTION_CALLBACK, 0, option, (filter), N_("commit"), (h), \