Browse Source

annex: ssh control path outside of repo to fix sync of annex repos inside encfs mounts

matches control path in ~/.ssh/config
https://git.hammerle.me/fphammerle/config-openssh-user/commit/9c11b1a9afce3e5c53a5b8363f0fce3ed4be3479#diff-229ced76aa598665fade1eb7542d74c50586e34R11
Fabian Peter Hammerle 5 years ago
parent
commit
9805b3f871
1 changed files with 2 additions and 0 deletions
  1. 2 0
      gitconfig

+ 2 - 0
gitconfig

@@ -47,6 +47,8 @@
 	thin = false
 	# assistant: do not auto delete unused files
 	expireunused = false
+	# fixes sync of repos inside encfs mounts
+	ssh-options = -S~/.ssh/%r@%n:%p
 
 [alias]
 	a = add