Re: [PATCH] pass config slots as pointers instead of offsets

2014-10-14 Thread Jonathan Nieder
Junio C Hamano wrote: > builtin/branch.c | 16 > builtin/commit.c | 19 +-- > builtin/log.c| 2 +- > log-tree.c | 4 ++-- > log-tree.h | 2 +- > 5 files changed, 21 insertions(+), 22 deletions(-) Signed-off-by: Jonathan Nieder -- To unsubscrib

[PATCH] pass config slots as pointers instead of offsets

2014-10-14 Thread Junio C Hamano
From: Jonathan Nieder Date: Tue, 7 Oct 2014 15:16:57 -0400 Many config-parsing helpers, like parse_branch_color_slot, take the name of a config variable and an offset to the "slot" name (e.g., "color.branch.plain" is passed along with "13" to effectively pass "plain"). This is leftover from the t