1. 17 Mar, 2017 1 commit
    • Devin Lehmacher's avatar
      credential-cache: use XDG_CACHE_HOME for socket · 60759baa
      Devin Lehmacher authored
      Make git-credential-cache follow the XDG base path specification by
      default. This increases consistency with other applications and helps
      keep clutter out of users' home directories.
      Check the old socket location, ~/.git-credential-cache/, and use
      ~/.git-credential-cache/socket if that directory exists rather than
      forcing users who have used `git credential-cache` before to migrate to
      the new XDG compliant location.
      Otherwise use the socket $XDG_CACHE_HOME/git/credential/socket following
      XDG base path specification. Use the subdirectory credential/ in case
      other files are cached under $XDG_CACHE_HOME/git/ in the future and to
      make the socket's purpose clear.
      Signed-off-by: Devin Lehmacher's avatarDevin Lehmacher <lehmacdj@gmail.com>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
  2. 23 Feb, 2016 1 commit
  3. 01 Feb, 2013 1 commit
  4. 08 Aug, 2012 1 commit
    • Jeff King's avatar
      command-list: mention git-credential-* helpers · c6632eba
      Jeff King authored
      These commands were never added to the command-list. Adding
      them makes "make check-docs" run without complaint.
      While we're at it, let's capitalize the first letter of
      their one-line summaries to match the rest of the git
      The credential-cache--daemon command is somewhat special. It
      is already ignored by check-docs because it contains a "--",
      marking it as a non-interesting implementation detail. It
      is, in fact, documented, but since the documentation
      basically just redirects you to a more appropriate command
      anyway, let's explicitly omit it so it is not mentioned in
      Signed-off-by: default avatarJeff King <peff@peff.net>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
  5. 12 Dec, 2011 1 commit
    • Jeff King's avatar
      credentials: add "cache" helper · e2770979
      Jeff King authored
      If you access repositories over smart-http using http
      authentication, then it can be annoying to have git ask you
      for your password repeatedly. We cache credentials in
      memory, of course, but git is composed of many small
      programs. Having to input your password for each one can be
      This patch introduces a credential helper that will cache
      passwords in memory for a short period of time.
      Signed-off-by: default avatarJeff King <peff@peff.net>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>