git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3] Documentation: clarify that cache forgets credentials if the system restarts

From
M Hickford via GitGitGadget <gitgitgadget@gmail.com>
Date
Jan 28, 2023, 20:13 UTC
Message-ID
<pull.1447.v3.git.1674936815117.gitgitgadget@gmail.com>
In-Reply-To
<pull.1447.v2.git.1674936563549.gitgitgadget@gmail.com>
From: M Hickford <mirth.hickford@gmail.com>
Signed-off-by: M Hickford <mirth.hickford@gmail.com>
---
    Documentation: clarify that cache forgets credentials if the system
    restarts
    
    Make it obvious to readers unfamiliar with Unix sockets.
    
    Signed-off-by: M Hickford mirth.hickford@gmail.com
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1447%2Fhickford%2Fpatch-2-v3
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1447/hickford/patch-2-v3
Pull-Request: https://github.com/gitgitgadget/git/pull/1447
Range-diff vs v2:
 1:  e84d069cf19 ! 1:  09f4afae70c Documentation: clarify that cache forgets credentials if the system restarts
     @@ Documentation/git-credential-cache.txt: git config credential.helper 'cache [<op
      +The stored credentials are kept in memory of the cache-daemon
      +process (instead of written to a file) and are forgotten after a
      +configurable timeout. Credentials are forgotten sooner if the
     -+cache-daemon dies, for example if the system restarts. The cached
     ++cache-daemon dies, for example if the system restarts. The cache
      +is accessible over a Unix domain socket, restricted to the current
      +user by filesystem permissions.
       
 Documentation/git-credential-cache.txt | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/Documentation/git-credential-cache.txt b/Documentation/git-credential-cache.txt
index 432e159d952..f473994a864 100644
--- a/Documentation/git-credential-cache.txt
+++ b/Documentation/git-credential-cache.txt
@@ -14,10 +14,13 @@ git config credential.helper 'cache [<options>]'
 DESCRIPTION
 -----------
 
-This command caches credentials in memory for use by future Git
-programs. The stored credentials never touch the disk, and are forgotten
-after a configurable timeout.  The cache is accessible over a Unix
-domain socket, restricted to the current user by filesystem permissions.
+This command caches credentials for use by future Git programs.
+The stored credentials are kept in memory of the cache-daemon
+process (instead of written to a file) and are forgotten after a
+configurable timeout. Credentials are forgotten sooner if the
+cache-daemon dies, for example if the system restarts. The cache
+is accessible over a Unix domain socket, restricted to the current
+user by filesystem permissions.
 
 You probably don't want to invoke this command directly; it is meant to
 be used as a credential helper by other parts of Git. See

base-commit: 5cc9858f1b470844dea5c5d3e936af183fdf2c68
-- 
gitgitgadget
Previous: M Hickford via GitGitGadgetNext: Jeff King
Message 7 of 9 in “Documentation: clarify that cache forgets credentials if the system restarts”
  1. Documentation: clarify that cache forgets credentials if the system restartsM Hickford via GitGitGadget, Dec 21, 2022
  2. Junio C HamanoDec 21, 2022
  3. Jeff KingDec 22, 2022
  4. Documentation: clarify that cache forgets credentials if the system restartsM Hickford, Jan 28, 2023
  5. brian m. carlsonDec 21, 2022
  6. Documentation: clarify that cache forgets credentials if the system restartsM Hickford via GitGitGadget, Jan 28, 2023
  7. Documentation: clarify that cache forgets credentials if the system restartsM Hickford via GitGitGadget, Jan 28, 2023
  8. Jeff KingJan 29, 2023
  9. Junio C HamanoJan 29, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.