You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bugfix: Check the existence of a mirror while holding the mirror lock to no longer delete a mirror that was
created by a concurrent gitcache process.
Bugfix: Fetch the LFS objects of a git checkout of a tag or a commit as well. Previously, only a checkout of a
branch triggered an LFS fetch of the mirror and the LFS objects of a tag or commit were downloaded by the git-lfs
filters of the checkout itself.
Bugfix: Skip the gitcache executable itself when searching for the real git command. Previously, only a symlink
named git was skipped, so that renaming or hard-linking the gitcache executable to git resulted in an
infinite recursion. As the check now compares the candidates with the gitcache executable, a symlink pointing to
the real git command is no longer skipped either.
Bugfix: Also skip the gitcache script when it is run by a Python interpreter, as in a pip installation. There, sys.executable is the interpreter, so a git symlink to the installed gitcache script was returned as the
real git command whenever no RealGit was configured, e.g. with HOME pointing to a fresh directory, and each
call spawned itself until the system ran out of memory.
Bugfix: Keep the user of ssh:// and scp-style URLs when normalizing URLs and stripping credentials. The
user of an SSH URL is part of the address, not a secret. Dropping it left mirrors created from SSH URLs
unable to authenticate on gitcache -u and whenever the same repository was reached through an HTTPS URL
(#159, thanks to waipeng).
Bugfix: Set the ssh user of the mirror remote to the user of the command URL. This restores the user on
mirrors created by v1.0.31 to v1.0.34 on their next use with an SSH URL, and follows the user when the same
repository is reached with different ssh users (thanks to Bilb).