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

Is there a reason the credential cache server cowardly refuses to delete/reuse the socket file?

From
Jason Pyeron <jpyeron@pdinc.us>
Date
Jun 15, 2014, 13:48 UTC
Message-ID
<1EFC4B213D584B1EBAE78E6882705B6D@black>

Whenever my computer crashes, I am left with a socket file. On next git invocation it tries to conenct to the file, but the daemon is not running so it barfs until I delete the file.

jpyeron@black /projects/dcarr/saar $ git push fatal: unable to connect to cache daemon: No error Username for xxxxxxxxxxxxxxxxxx ^C

jpyeron@black /projects/dcarr/saar $ ls -al ~/.git-credential-cache/ total 1 drwx------+ 1 jpyeron Domain Users 0 Jun 9 14:09 . drwxr-xr-x+ 1 jpyeron root 0 Jun 8 22:45 .. srwxr-xr-x 1 jpyeron Domain Users 0 Jun 9 14:09 socket

jpyeron@black /projects/dcarr/saar $ rm -f ~/.git-credential-cache/socket

jpyeron@black /projects/dcarr/saar
$ git push
Username for xxxxxxxxxx
Password for xxxxxxxxxxx
Counting objects: 27, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (14/14), 2.09 KiB, done.
Total 14 (delta 6), reused 0 (delta 0)
To xxxxxxxxxxxxxxxxx
   345112c..48909da  master -> master

jpyeron@black /projects/dcarr/saar $ git --version git version 1.7.9

jpyeron@black /projects/dcarr/saar $ cygcheck.exe -V cygcheck (cygwin) 1.7.30 ...

-Jason
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.
Next: Jeff King
Message 1 of 5 in “Is there a reason the credential cache server cowardly refuses to delete/reuse the socket file?”
  1. Jason PyeronJun 15, 2014
  2. Jeff KingJun 15, 2014
  3. Jason PyeronJun 15, 2014
  4. Jason PyeronJun 15, 2014
  5. Jeff KingJun 17, 2014

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.