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.
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.