Re: [GSoC][PATCH v2 1/2] path.c: add xdg_cache_home

2017-03-13 Thread Junio C Hamano
Devin Lehmacher writes: > We already have xdg_config_home to format paths relative to > XDG_CONFIG_HOME. Let's provide a similar function xdg_cache_home to do > the same for paths relative to XDG_CACHE_HOME. Nicely explained. > +/** > + * Return a newly allocated string with the evaluation of >

[GSoC][PATCH v2 1/2] path.c: add xdg_cache_home

2017-03-13 Thread Devin Lehmacher
We already have xdg_config_home to format paths relative to XDG_CONFIG_HOME. Let's provide a similar function xdg_cache_home to do the same for paths relative to XDG_CACHE_HOME. Signed-off-by: Devin Lehmacher --- cache.h | 7 +++ path.c | 15 +++ 2 files changed, 22 insertions(