reflog: use parse_config_key in config callback
authorJeff King <peff@peff.net>
Wed, 23 Jan 2013 06:27:37 +0000 (01:27 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Jan 2013 20:58:33 +0000 (12:58 -0800)
commitb3873c336cc2eb5a6eb2b10981a2ca0b65b8c987
tree56ced4a1b8eb3c935a2ae7c546e2fa68f9268879
parent4d5c6cefd5c3e37fdf096c955abe9f9ac5938a53
reflog: use parse_config_key in config callback

This doesn't save any lines, but does keep us from doing
error-prone pointer arithmetic with constants.

Signed-off-by: Jeff King <peff@peff.net>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/reflog.c