aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-02-24 17:17:14 -0500
committerJunio C Hamano <gitster@pobox.com>2008-02-24 18:31:49 -0800
commit94351118c0a820002b093598e7fac5bdf3c0291f (patch)
tree9409a429659a6a244e9f9bd123070a0ef1be479d /Makefile
parent41eb33bd0cbecf1b441ada91ab186ee49fb086cc (diff)
downloadgit-94351118c0a820002b093598e7fac5bdf3c0291f.tar.gz
git-94351118c0a820002b093598e7fac5bdf3c0291f.tar.xz
make alias lookup a public, procedural function
This converts git_config_alias to the public alias_lookup function. Because of the nature of our config parser, we still have to rely on setting static data. However, that interface is wrapped so that you can just say value = alias_lookup(key); Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d33a556ff..b460bb216 100644
--- a/Makefile
+++ b/Makefile
@@ -327,7 +327,8 @@ LIB_OBJS = \
alloc.o merge-file.o path-list.o help.o unpack-trees.o $(DIFF_OBJS) \
color.o wt-status.o archive-zip.o archive-tar.o shallow.o utf8.o \
convert.o attr.o decorate.o progress.o mailmap.o symlinks.o remote.o \
- transport.o bundle.o walker.o parse-options.o ws.o archive.o
+ transport.o bundle.o walker.o parse-options.o ws.o archive.o \
+ alias.o
BUILTIN_OBJS = \
builtin-add.o \