make alias lookup a public, procedural function
authorJeff King <peff@peff.net>
Sun, 24 Feb 2008 22:17:14 +0000 (17:17 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Feb 2008 02:31:49 +0000 (18:31 -0800)
commit94351118c0a820002b093598e7fac5bdf3c0291f
tree9409a429659a6a244e9f9bd123070a0ef1be479d
parent41eb33bd0cbecf1b441ada91ab186ee49fb086cc
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>
Makefile
alias.c [new file with mode: 0644]
cache.h
git.c