Merge branch 'jg/credential-cache-chdir-to-sockdir'
commit2a24444aaeaabd8559751b02015c025157604f38
authorJunio C Hamano <gitster@pobox.com>
Fri, 26 Feb 2016 21:37:20 +0000 (26 13:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Feb 2016 21:37:20 +0000 (26 13:37 -0800)
tree0e4cc474c6a8af43a2b30d42f502d80232b7e7ef
parent225caa73f25f8577a710f406b2670c3bcf0aef34
parent6e6144905188a76ef75c5418bd48c333adeebdcd
Merge branch 'jg/credential-cache-chdir-to-sockdir'

The "credential-cache" daemon process used to run in whatever
directory it happened to start in, but this made umount(2)ing the
filesystem that houses the repository harder; now the process
chdir()s to the directory that house its own socket on startup.

* jg/credential-cache-chdir-to-sockdir:
  credential-cache--daemon: change to the socket dir on startup
  credential-cache--daemon: disallow relative socket path
  credential-cache--daemon: refactor check_socket_directory
credential-cache--daemon.c