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
When the git repository is shared with collaborators, the git-fat remote might be present in different locations. For example, if the remote is a smb mount, we can't assume that all collaborators will mount the share in the same spot.
I worked around that by using return os.path.expandvars(output) rather than return output in the gitconfig_get function. This way, the base address of the remote could be specified by exporting an environment variable, e.g.:
[rsync]
remote = $SMB_ARCHIVE/gitfat/myrepo
Clearly this change would expand all fields, not just "rsync.remote", so you might prefer a different kind of fix.
The text was updated successfully, but these errors were encountered:
When the git repository is shared with collaborators, the git-fat remote might be present in different locations. For example, if the remote is a smb mount, we can't assume that all collaborators will mount the share in the same spot.
I worked around that by using
return os.path.expandvars(output)
rather thanreturn output
in thegitconfig_get
function. This way, the base address of the remote could be specified by exporting an environment variable, e.g.:Clearly this change would expand all fields, not just "rsync.remote", so you might prefer a different kind of fix.
The text was updated successfully, but these errors were encountered: