author | Jeff King <peff@peff.net> | |
Sun, 24 Feb 2008 22:17:14 +0000 (17:17 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 25 Feb 2008 02:31:49 +0000 (18:31 -0800) | ||
commit | 94351118c0a820002b093598e7fac5bdf3c0291f | |
tree | 9409a429659a6a244e9f9bd123070a0ef1be479d | tree | snapshot |
parent | 41eb33bd0cbecf1b441ada91ab186ee49fb086cc | commit | diff |
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>
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 | diff | blob | history | |
alias.c | [new file with mode: 0644] | blob |
cache.h | diff | blob | history | |
git.c | diff | blob | history |