summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2015-06-14 01:07:27 +0530
committerJunio C Hamano <gitster@pobox.com>2015-08-03 10:24:07 -0700
commitc95b758587021a0ee1a27836e7d4ce3f7d634f36 (patch)
tree3b272553bce76496d5fd7597752537909f8168bd /Makefile
parent69b1cf91e50808df4424c563b1256665034baec8 (diff)
downloadgit-c95b758587021a0ee1a27836e7d4ce3f7d634f36.tar.gz
ref-filter: move code from 'for-each-ref'
Move most of the code from 'for-each-ref' to 'ref-filter' to make it publicly available to other commands, this is to unify the code of 'tag -l', 'branch -l' and 'for-each-ref' so that they can share their implementations with each other. Add 'ref-filter' to the Makefile, this completes the movement of code from 'for-each-ref' to 'ref-filter'. Mentored-by: Christian Couder <christian.couder@gmail.com> Mentored-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 54ec511dff..d715b669a5 100644
--- a/Makefile
+++ b/Makefile
@@ -762,6 +762,7 @@ LIB_OBJS += reachable.o
LIB_OBJS += read-cache.o
LIB_OBJS += reflog-walk.o
LIB_OBJS += refs.o
+LIB_OBJS += ref-filter.o
LIB_OBJS += remote.o
LIB_OBJS += replace_object.o
LIB_OBJS += rerere.o