summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2015-06-13 19:37:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-08-03 17:24:07 (GMT)
commitc95b758587021a0ee1a27836e7d4ce3f7d634f36 (patch)
tree3b272553bce76496d5fd7597752537909f8168bd /Makefile
parent69b1cf91e50808df4424c563b1256665034baec8 (diff)
downloadgit-c95b758587021a0ee1a27836e7d4ce3f7d634f36.zip
git-c95b758587021a0ee1a27836e7d4ce3f7d634f36.tar.gz
git-c95b758587021a0ee1a27836e7d4ce3f7d634f36.tar.bz2
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 54ec511..d715b66 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