summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog <Michael@web>2014-05-24 22:07:15 +0000
committerGravatar admin <admin@branchable.com>2014-05-24 22:07:15 +0000
commit33eaf81fabfaf1f78ed61b592d1cae0531329ae8 (patch)
tree9e45a3364eddeaca8cf0d990ade36aa21f2a21a2
parentc5439fcd3046502cfd6abd70876c3a04d6fd5f66 (diff)
Added a comment
-rw-r--r--doc/bugs/no_git-annex_shell_on_Windows/comment_7_a8654cf656de55ccdcf40270a1ef4ca9._comment35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/bugs/no_git-annex_shell_on_Windows/comment_7_a8654cf656de55ccdcf40270a1ef4ca9._comment b/doc/bugs/no_git-annex_shell_on_Windows/comment_7_a8654cf656de55ccdcf40270a1ef4ca9._comment
new file mode 100644
index 000000000..1733b29dd
--- /dev/null
+++ b/doc/bugs/no_git-annex_shell_on_Windows/comment_7_a8654cf656de55ccdcf40270a1ef4ca9._comment
@@ -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
+
+"""]]