Re: [PATCH 2/3] parse_hide_refs_config: handle NULL section

2018-12-13 Thread Junio C Hamano
Jeff King writes: > This helper function looks for config in two places: transfer.hiderefs, > or $section.hiderefs, where $section is passed in by the caller (and is > "uploadpack" or "receive", depending on the context). > > In preparation for callers which do not even have that context (namely

[PATCH 2/3] parse_hide_refs_config: handle NULL section

2018-12-11 Thread Jeff King
This helper function looks for config in two places: transfer.hiderefs, or $section.hiderefs, where $section is passed in by the caller (and is "uploadpack" or "receive", depending on the context). In preparation for callers which do not even have that context (namely the "git-serve" command), let