]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
path.c: add xdg_cache_home
authorDevin Lehmacher <lehmacdj@gmail.com>
Mon, 13 Mar 2017 20:43:54 +0000 (16:43 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Mar 2017 21:39:36 +0000 (14:39 -0700)
commite7f136bf93132c24183c168a9a054540e6216c06
treeb5ee63d508156d6a420bdc2a5acaf253f4ea1694
parentd6db3f216544d05e09159756812ccbcb16861d71
path.c: add xdg_cache_home

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 <lehmacdj@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
path.c