Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2014-05-24 20:38:29 -04:00
commit f5982447eb
5 changed files with 86 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog"
nickname="Michael"
subject="comment 4"
date="2014-05-24T21:26:24Z"
content="""
I tried copying git-annex.exe to git-annex-shell.exe, but it doesn't behave as git-annex-shell:
git-annex-shell -c configlist
git-annex-shell.exe: unknown command configlist
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog"
nickname="Michael"
subject="comment 5"
date="2014-05-24T21:45:55Z"
content="""
Looks like .exe prefix confuses detection logic. If I remove extension, it does behave as git-annex-shell.
"""]]

View file

@ -0,0 +1,15 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog"
nickname="Michael"
subject="comment 6"
date="2014-05-24T21:49:47Z"
content="""
However, it's still not usable remotely over ssh:
git annex sync kpf
git-annex-shell: git: createProcess: invalid argument (Invalid argument)
Remote kpf does not have git-annex installed; setting annex-ignore
"""]]

View file

@ -0,0 +1,35 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog"
nickname="Michael"
subject="comment 7"
date="2014-05-24T22:07:15Z"
content="""
OK thought I'd use it with annex-ignore set, but:
git annex copy --to=kpf file.jpg
copy file.jpg (checking kpf...) git-annex-shell: git: createProcess: invalid argument (Invalid argument)
(to kpf...)
git-annex-shell: git: createProcess: invalid argument (Invalid argument)
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]
rsync failed -- run git annex again to resume file transfer
failed
git-annex: copy: 1 failed
For reference, here's the .git/config section.
I can either set receivepack/uploadpack like below or add /cygdrive/c/Program Files (x86)/Git/libexec/git-core to PATH in cygwin shell.
Also, if I set url to kp:/cygdrive/f/backup/f, git complains that it's not a git repository (msysgit doesn't understand cygwin stuff?)
[remote \"kpf\"]
url = kp:f:/backup/ph
fetch = +refs/heads/*:refs/remotes/kpf/*
receivepack = git receive-pack
uploadpack = git upload-pack
annex-uuid = 99c498fc-e38e-11e3-8bb0-5368a291bd90
annex-ignore = true
"""]]

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog"
nickname="Michael"
subject="comment 8"
date="2014-05-24T22:58:16Z"
content="""
Another data point. If I install cygwin's git (so references like kp:/cygdrive/f would be understood) and remove annex-ignore setting, I get:
git annex sync kpf
commit ok
pull kpf
git-annex: Unknown command 'kp'
Looks like hostname (kp) is taken as a command somehow.
"""]]