From 3f87b689ce5c2a5bda731233e900167628371e83 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" Date: Sat, 24 May 2014 21:26:24 +0000 Subject: [PATCH 1/9] Added a comment --- ...mment_4_04b30dd9e510762ee547e7b45bdba660._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/bugs/no_git-annex_shell_on_Windows/comment_4_04b30dd9e510762ee547e7b45bdba660._comment diff --git a/doc/bugs/no_git-annex_shell_on_Windows/comment_4_04b30dd9e510762ee547e7b45bdba660._comment b/doc/bugs/no_git-annex_shell_on_Windows/comment_4_04b30dd9e510762ee547e7b45bdba660._comment new file mode 100644 index 0000000000..4a6fd402d3 --- /dev/null +++ b/doc/bugs/no_git-annex_shell_on_Windows/comment_4_04b30dd9e510762ee547e7b45bdba660._comment @@ -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 + +"""]] From 947e6d394f849a59577240952238325d7aace147 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" Date: Sat, 24 May 2014 21:45:55 +0000 Subject: [PATCH 2/9] Added a comment --- .../comment_5_beebbd4a41cccfc7aac3c19d76c3b978._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/bugs/no_git-annex_shell_on_Windows/comment_5_beebbd4a41cccfc7aac3c19d76c3b978._comment diff --git a/doc/bugs/no_git-annex_shell_on_Windows/comment_5_beebbd4a41cccfc7aac3c19d76c3b978._comment b/doc/bugs/no_git-annex_shell_on_Windows/comment_5_beebbd4a41cccfc7aac3c19d76c3b978._comment new file mode 100644 index 0000000000..9d9acf54f3 --- /dev/null +++ b/doc/bugs/no_git-annex_shell_on_Windows/comment_5_beebbd4a41cccfc7aac3c19d76c3b978._comment @@ -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. +"""]] From 3ae15d07f2e7f5da59ecdb49702f2fae8cd90b4b Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" Date: Sat, 24 May 2014 21:49:47 +0000 Subject: [PATCH 3/9] Added a comment --- ...nt_6_957c5da5f336c7ef59e4149602471888._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/bugs/no_git-annex_shell_on_Windows/comment_6_957c5da5f336c7ef59e4149602471888._comment diff --git a/doc/bugs/no_git-annex_shell_on_Windows/comment_6_957c5da5f336c7ef59e4149602471888._comment b/doc/bugs/no_git-annex_shell_on_Windows/comment_6_957c5da5f336c7ef59e4149602471888._comment new file mode 100644 index 0000000000..c9d4c3a6a5 --- /dev/null +++ b/doc/bugs/no_git-annex_shell_on_Windows/comment_6_957c5da5f336c7ef59e4149602471888._comment @@ -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 + +"""]] From 5ce3ba2ca0eb4076886994584b4c0a033b038e0a Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" Date: Sat, 24 May 2014 21:55:54 +0000 Subject: [PATCH 4/9] Added a comment --- ..._41214239f0ad37d840acd698a6fd4c48._comment | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/bugs/no_git-annex_shell_on_Windows/comment_7_41214239f0ad37d840acd698a6fd4c48._comment diff --git a/doc/bugs/no_git-annex_shell_on_Windows/comment_7_41214239f0ad37d840acd698a6fd4c48._comment b/doc/bugs/no_git-annex_shell_on_Windows/comment_7_41214239f0ad37d840acd698a6fd4c48._comment new file mode 100644 index 0000000000..1066dd8333 --- /dev/null +++ b/doc/bugs/no_git-annex_shell_on_Windows/comment_7_41214239f0ad37d840acd698a6fd4c48._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" + nickname="Michael" + subject="comment 7" + date="2014-05-24T21:55:54Z" + 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 + +"""]] From 826f0562de3fa4b56581e179a5ec9c4a51fbc69b Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" Date: Sat, 24 May 2014 22:01:05 +0000 Subject: [PATCH 5/9] Added a comment --- ..._fa0b957cba614dec5558c992d80b21ee._comment | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/bugs/no_git-annex_shell_on_Windows/comment_8_fa0b957cba614dec5558c992d80b21ee._comment diff --git a/doc/bugs/no_git-annex_shell_on_Windows/comment_8_fa0b957cba614dec5558c992d80b21ee._comment b/doc/bugs/no_git-annex_shell_on_Windows/comment_8_fa0b957cba614dec5558c992d80b21ee._comment new file mode 100644 index 0000000000..05912cfb86 --- /dev/null +++ b/doc/bugs/no_git-annex_shell_on_Windows/comment_8_fa0b957cba614dec5558c992d80b21ee._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" + nickname="Michael" + subject="comment 8" + date="2014-05-24T22:01:04Z" + content=""" +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 /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 + +"""]] From 7d2c33d3d9124fddf60ec3f164b52e0987b212bf Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" Date: Sat, 24 May 2014 22:03:00 +0000 Subject: [PATCH 6/9] removed --- ..._41214239f0ad37d840acd698a6fd4c48._comment | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 doc/bugs/no_git-annex_shell_on_Windows/comment_7_41214239f0ad37d840acd698a6fd4c48._comment diff --git a/doc/bugs/no_git-annex_shell_on_Windows/comment_7_41214239f0ad37d840acd698a6fd4c48._comment b/doc/bugs/no_git-annex_shell_on_Windows/comment_7_41214239f0ad37d840acd698a6fd4c48._comment deleted file mode 100644 index 1066dd8333..0000000000 --- a/doc/bugs/no_git-annex_shell_on_Windows/comment_7_41214239f0ad37d840acd698a6fd4c48._comment +++ /dev/null @@ -1,20 +0,0 @@ -[[!comment format=mdwn - username="https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" - nickname="Michael" - subject="comment 7" - date="2014-05-24T21:55:54Z" - 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 - -"""]] From 2cda8da4b64c2fa015218a8f5c77e6b6734f0a90 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" Date: Sat, 24 May 2014 22:04:48 +0000 Subject: [PATCH 7/9] removed --- ..._fa0b957cba614dec5558c992d80b21ee._comment | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 doc/bugs/no_git-annex_shell_on_Windows/comment_8_fa0b957cba614dec5558c992d80b21ee._comment diff --git a/doc/bugs/no_git-annex_shell_on_Windows/comment_8_fa0b957cba614dec5558c992d80b21ee._comment b/doc/bugs/no_git-annex_shell_on_Windows/comment_8_fa0b957cba614dec5558c992d80b21ee._comment deleted file mode 100644 index 05912cfb86..0000000000 --- a/doc/bugs/no_git-annex_shell_on_Windows/comment_8_fa0b957cba614dec5558c992d80b21ee._comment +++ /dev/null @@ -1,21 +0,0 @@ -[[!comment format=mdwn - username="https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" - nickname="Michael" - subject="comment 8" - date="2014-05-24T22:01:04Z" - content=""" -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 /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 - -"""]] From 2c0b99d1a91fe4514ba38758b46625816862bfe5 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" Date: Sat, 24 May 2014 22:07:15 +0000 Subject: [PATCH 8/9] Added a comment --- ..._a8654cf656de55ccdcf40270a1ef4ca9._comment | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 doc/bugs/no_git-annex_shell_on_Windows/comment_7_a8654cf656de55ccdcf40270a1ef4ca9._comment 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 0000000000..1733b29dd6 --- /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 + +"""]] From 6e12be8b29e61b11fcdff68420a891c36bc89c8e Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog" Date: Sat, 24 May 2014 22:58:16 +0000 Subject: [PATCH 9/9] Added a comment --- ...t_8_3c8bb1b1d67ca1a6e568e381d24a2574._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/bugs/no_git-annex_shell_on_Windows/comment_8_3c8bb1b1d67ca1a6e568e381d24a2574._comment diff --git a/doc/bugs/no_git-annex_shell_on_Windows/comment_8_3c8bb1b1d67ca1a6e568e381d24a2574._comment b/doc/bugs/no_git-annex_shell_on_Windows/comment_8_3c8bb1b1d67ca1a6e568e381d24a2574._comment new file mode 100644 index 0000000000..ba7fadc23f --- /dev/null +++ b/doc/bugs/no_git-annex_shell_on_Windows/comment_8_3c8bb1b1d67ca1a6e568e381d24a2574._comment @@ -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. + +"""]]