summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Jon Griffiths <jon_p_griffiths@yahoo.com>2016-02-23 02:15:15 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-23 12:56:26 -0800
commita6e5e2864f96ebce9ec6656841c8965bcdf1b37f (patch)
tree0afda1518a217c67b7691f6ab357ba9136d103b8 /Documentation
parentGit 2.7.2 (diff)
downloadtgif-a6e5e2864f96ebce9ec6656841c8965bcdf1b37f.tar.xz
credential-cache--daemon: refactor check_socket_directory
This function does an early return, and therefore has to repeat its cleanup. We can stick the later bit of the function into an "else" and avoid duplicating the shared part (which will get bigger in a future patch). Let's also rename the function to init_socket_directory. It not only checks the directory but also creates it. Saying "init" is more accurate. Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions