diff options
author | Joey Hess <joey@kitenet.net> | 2013-10-06 20:43:22 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-10-06 20:59:36 -0400 |
commit | 31807817d44e317c4cc807703ea4df6ffff6687e (patch) | |
tree | 7ad4adc3aeccfcba9222a00d444d93849f6abb6a /Fields.hs | |
parent | e64c2e0929ee56ad44d40689d78f1f6b650d3cf9 (diff) |
work around ssh brain-damange
The control socket path passed to ssh needs to be 17 characters shorter
than the maximum unix domain socket length, because ssh appends stuff to it
to make a temporary filename. Closes: #725512
Also, take the shorter of the relative and the absolute paths to the
socket. Typically the relative path will be a lot shorter (unless
deep inside a subdirectory of the repository), and so using it will
avoid flirting with the maximum safe socket lenghts in more situations,
and so lead to less breakage if all my attempts at fixing this are
still buggy.
Diffstat (limited to 'Fields.hs')
0 files changed, 0 insertions, 0 deletions