summaryrefslogtreecommitdiff
path: root/Documentation/git-credential-cache.txt
diff options
context:
space:
mode:
authorJon Griffiths <jon_p_griffiths@yahoo.com>2016-02-23 07:15:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-02-23 20:56:27 (GMT)
commitbd93b8d9becb01d21871b63e34c2e824c60b1e8c (patch)
treec4cd9322a3d3a18f0a1ebf1480870d667521e942 /Documentation/git-credential-cache.txt
parenta6e5e2864f96ebce9ec6656841c8965bcdf1b37f (diff)
downloadgit-bd93b8d9becb01d21871b63e34c2e824c60b1e8c.zip
git-bd93b8d9becb01d21871b63e34c2e824c60b1e8c.tar.gz
git-bd93b8d9becb01d21871b63e34c2e824c60b1e8c.tar.bz2
credential-cache--daemon: disallow relative socket path
Relative socket paths are dangerous since the user cannot generally control when the daemon starts (initially, after a timeout, kill or crash). Since the daemon creates but does not delete the socket directory, this could lead to spurious directory creation relative to the users cwd. Suggested-by: Jeff King <peff@peff.net> 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/git-credential-cache.txt')
-rw-r--r--Documentation/git-credential-cache.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-credential-cache.txt b/Documentation/git-credential-cache.txt
index 89b7306..96208f8 100644
--- a/Documentation/git-credential-cache.txt
+++ b/Documentation/git-credential-cache.txt
@@ -36,7 +36,7 @@ OPTIONS
cache daemon if one is not started). Defaults to
`~/.git-credential-cache/socket`. If your home directory is on a
network-mounted filesystem, you may need to change this to a
- local filesystem.
+ local filesystem. You must specify an absolute path.
CONTROLLING THE DAEMON
----------------------