From 9c5bd871c07935ec330eff15023a834c8c6b3a8c Mon Sep 17 00:00:00 2001 From: divB Date: Sat, 10 May 2014 00:51:04 +0000 Subject: [PATCH 1/2] --- ...existent_ref__44___unable_to_checkout.mdwn | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/forum/warning:_remote_HEAD_refers_to_nonexistent_ref__44___unable_to_checkout.mdwn b/doc/forum/warning:_remote_HEAD_refers_to_nonexistent_ref__44___unable_to_checkout.mdwn index ec1eb505a7..f57e0ee838 100644 --- a/doc/forum/warning:_remote_HEAD_refers_to_nonexistent_ref__44___unable_to_checkout.mdwn +++ b/doc/forum/warning:_remote_HEAD_refers_to_nonexistent_ref__44___unable_to_checkout.mdwn @@ -45,4 +45,25 @@ EDIT2: When I continue on the windows side (despite the warning): But that's not true, git-annex is definitely installed on the server (it's just the Debian package and it resides in /usr/bin/git-annex). In any case, the client repository is still empty +EDIT3: Struggle, struggle, ... + +Finally, for whatever reason, the client dir is not empty. What seems to be missing on the server was: + + git annex sync + +but this is never written (also not in the walkthrough). Can anyone tell me if it's required and why? + +Furthermore, even that I "see" at least the file references now, I am not able to get them: + + $ git annex get apps + get apps/gitignore (not available) + Try making some of these repositories available: + 10d0ffd8-f499-4b55-83e6-ff58cd98edc5 -- server + + (Note that these git remotes have annex-ignore set: origin) + failed + git-annex: get: 1 failed + +That's an SSH remote, it *is* available! What is meant by that? + From 0e936b36c62753d7363203cafd766ce1a0152152 Mon Sep 17 00:00:00 2001 From: divB Date: Sat, 10 May 2014 02:29:41 +0000 Subject: [PATCH 2/2] --- doc/bugs/git-annex_ignores_GIT__95__SSH.mdwn | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 doc/bugs/git-annex_ignores_GIT__95__SSH.mdwn diff --git a/doc/bugs/git-annex_ignores_GIT__95__SSH.mdwn b/doc/bugs/git-annex_ignores_GIT__95__SSH.mdwn new file mode 100644 index 0000000000..9af05496a0 --- /dev/null +++ b/doc/bugs/git-annex_ignores_GIT__95__SSH.mdwn @@ -0,0 +1,39 @@ +### Please describe the problem. + +git uses environment variable GIT_SSH to determine SSH client. + +I set it to plink.exe because I extensively use pageant infrastructure and do NOT want to have 2 systems lying around. + +Unfortunately git-annex seems to ignore that. + +Even worse, it results in unpredicted behavior because the git part works (e.g. clone) whereas annex/rsync does not resulting in half-ok repositories without meaningful error messages. + +It only becomes evident when ssh.exe in the git repository is deleted. + +### What steps will reproduce the problem? + +Set %GIT_SSH% and remove ssh.exe + +You will get + + git-annex: ssh: createProcess: does not exist (No such file or directory) + failed + git-annex: drop: 1 failed + +### What version of git-annex are you using? On what operating system? + +Windows 8, + + $ git annex version + git-annex version: 5.20140411-gda795e0 + build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV DNS Feeds Quvi TDFA CryptoHash + key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL + remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier hook external + local repository version: 5 + supported repository version: 5 + upgrade supported from repository versions: 2 3 4 + + +### Please provide any additional information below. + +