[PATCH v2 2/3] home_config_path: allow NULL xdg parameter

2014-07-25 Thread Matthieu Moy
This allows a caller to request the global config file without requesting the XDG one. Signed-off-by: Matthieu Moy matthieu@imag.fr --- path.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/path.c b/path.c index 3afcdb4..f68df0c 100644 --- a/path.c +++

Re: [PATCH v2 2/3] home_config_path: allow NULL xdg parameter

2014-07-25 Thread Junio C Hamano
Matthieu Moy matthieu@imag.fr writes: This allows a caller to request the global config file without requesting the XDG one. Signed-off-by: Matthieu Moy matthieu@imag.fr --- Will rephrase A caller can ask only for XDG location by passing global=NULL. Allow it to ask only