summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--pretty_--root_--summary_initial
diff options
context:
space:
mode:
authorLibravatar Devin Lehmacher <lehmacdj@gmail.com>2017-03-17 08:36:33 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-17 11:19:40 -0700
commit60759baac1f063a6c3069ca4b909abb8a20fa08a (patch)
treefaeb57c96340077486ccd0446bb3b470dcba146a /t/t4013/diff.diff-tree_--pretty_--root_--summary_initial
parentpath.c: add xdg_cache_home (diff)
downloadtgif-60759baac1f063a6c3069ca4b909abb8a20fa08a.tar.xz
credential-cache: use XDG_CACHE_HOME for socket
Make git-credential-cache follow the XDG base path specification by default. This increases consistency with other applications and helps keep clutter out of users' home directories. Check the old socket location, ~/.git-credential-cache/, and use ~/.git-credential-cache/socket if that directory exists rather than forcing users who have used `git credential-cache` before to migrate to the new XDG compliant location. Otherwise use the socket $XDG_CACHE_HOME/git/credential/socket following XDG base path specification. Use the subdirectory credential/ in case other files are cached under $XDG_CACHE_HOME/git/ in the future and to make the socket's purpose clear. Signed-off-by: Devin Lehmacher <lehmacdj@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty_--root_--summary_initial')
0 files changed, 0 insertions, 0 deletions