summaryrefslogtreecommitdiff
path: root/doc/bugs/ControlPath_too_long_for_Unix_domain_socket/comment_1_60f58e205604eebe668b1e05dcfbf9a7._comment
blob: 0cba1a6939e9869d4257da5a05f04f34478ecefc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[[!comment format=mdwn
 username="http://joeyh.name/"
 ip="4.153.8.30"
 subject="comment 1"
 date="2012-09-13T22:00:53Z"
 content="""
You can work around the ControlPath too long by running in your git repo:

git config annex.sshcaching false

While I could reproduce that part of your problem, I did *not* see any data actually be transferred when the ControlPath was too long. For example:

<pre>
joey@gnu:~/tmp/t/1>git annex transferkey --to foo SHA256E-s29--66ffceb8b7a1af9c2eb896f26fb8f3bdab0a606da59a7a2d71ae4f7d78ad13c4/SHA256E-s29--66ffceb8b7a1af9c2eb896f26fb8f3bdab0a606da59a7a2d71ae4f7d78ad13c4

ControlPath too long
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]

  rsync failed -- run git annex again to resume file transfer
failed
git-annex: transferkey: 1 failed
</pre>
"""]]