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.