From 8771726dbb0f6cceeb59f9935b8d755e6640dbd8 Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 2 Mar 2015 05:21:12 +0000 Subject: [PATCH] --- ...ng_file_names_preventing_git_checkout.mdwn | 484 ++++++++++++++++++ 1 file changed, 484 insertions(+) create mode 100644 doc/todo/Shorten_long_file_names_preventing_git_checkout.mdwn diff --git a/doc/todo/Shorten_long_file_names_preventing_git_checkout.mdwn b/doc/todo/Shorten_long_file_names_preventing_git_checkout.mdwn new file mode 100644 index 0000000000..6f8a68d577 --- /dev/null +++ b/doc/todo/Shorten_long_file_names_preventing_git_checkout.mdwn @@ -0,0 +1,484 @@ +Submitting here from https://github.com/joeyh/git-annex/pull/36 + + commit 05b7e0d2e87c1c92df773d72ee0ac7c9638be058 + Author: Eric OConnor + Date: Sat Feb 28 23:14:50 2015 -0700 + + Allow this repository to be checked out in filesystems with 255 char filename limits + + diff --git a/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known.mdwn b/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known.mdwn + new file mode 100644 + index 0000000..69732a7 + --- /dev/null + +++ b/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known.mdwn + @@ -0,0 +1,46 @@ + +### Please describe the problem. + + + + + +some time ago i was using the webapp bound to a dedicated port number to get around firewall reconfig. Now after some time without using the webapp i'm using it again and when i start it with + + + + git-annex webapp --listen=192.168.21.12:46199 + + + +it never starts but just keeps waiting forever(?) + + + +Update:(to clarify - the following works fine but results in the "random" port "problem") + + + + git-annex webapp --listen=192.168.21.12 + + + + + + + + + +### What steps will reproduce the problem? + + + + + +git-annex webapp --listen=192.168.21.12:46199 + + + + + +### What version of git-annex are you using? On what operating system? + + + + + +version 5.20140716-g8c14ba8 on debian wheezy using your pre build static tar archive. + + + +### Please provide any additional information below. + + + +[[!format sh """ + +# If you can, paste a complete transcript of the problem occurring here. + +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log + + + + + +the log output is the following 3 lines + + + +[2014-07-23 16:41:45 CEST] main: starting assistant version 5.20140716-g8c14ba8 + +WebApp crashed: getAddrInfo: does not exist (Name or service not known) + +[2014-07-23 16:41:45 CEST] WebApp: warning WebApp crashed: getAddrInfo: does not exist (Name or service not known) + + + + + + + +# End of transcript or log. + +"""]] + + + +> [[done]] --[[Joey]] + diff --git a/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known/comment_1_4d1b96911e3e227c7433ccea543872c1._comment b/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known/comment_1_4d1b96911e3e227c7433ccea543872c1._comment + new file mode 100644 + index 0000000..5808c56 + --- /dev/null + +++ b/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known/comment_1_4d1b96911e3e227c7433ccea543872c1._comment + @@ -0,0 +1,10 @@ + +[[!comment format=mdwn + + username="http://joeyh.name/" + + ip="24.159.78.125" + + subject="comment 1" + + date="2014-07-23T22:10:37Z" + + content=""" + +Support for --listen with a port was removed in version 5.20140306, since it was buggy. In particular, when the webapp creates a new repository, it needs to switch to a new port to serve that repository, so specifying a single port won't work. + + + +Instead, when annex.listen or --listen specifies the address to listen on, `git annex webapp` will print out the url to use to open it, including the port it picked. This could be used in a script, or clicked on in the terminal to open a local browser when running the webapp on a remote host. + +"""]] + diff --git a/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known/comment_2_7be98a630e1deb655a4d1675bf622d05._comment b/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known/comment_2_7be98a630e1deb655a4d1675bf622d05._comment + new file mode 100644 + index 0000000..2dd9885 + --- /dev/null + +++ b/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known/comment_2_7be98a630e1deb655a4d1675bf622d05._comment + @@ -0,0 +1,8 @@ + +[[!comment format=mdwn + + username="markusk" + + ip="79.243.250.79" + + subject="comment 2" + + date="2014-07-23T23:18:37Z" + + content=""" + +Thank you for the info! Will add the port grep to my auth grep script as you suggested. + +"""]] + diff --git a/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41_____91__2014-07-23_16:41:45_CEST__93___WebApp:_warning_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41__.mdwn b/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41_____91__2014-07-23_16:41:45_CEST__93___WebApp:_warning_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41__.mdwn + deleted file mode 100644 + index 69732a7..0000000 + --- a/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41_____91__2014-07-23_16:41:45_CEST__93___WebApp:_warning_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41__.mdwn + +++ /dev/null + @@ -1,46 +0,0 @@ + -### Please describe the problem. + - + - + -some time ago i was using the webapp bound to a dedicated port number to get around firewall reconfig. Now after some time without using the webapp i'm using it again and when i start it with + - + - git-annex webapp --listen=192.168.21.12:46199 + - + -it never starts but just keeps waiting forever(?) + - + -Update:(to clarify - the following works fine but results in the "random" port "problem") + - + - git-annex webapp --listen=192.168.21.12 + - + - + - + - + -### What steps will reproduce the problem? + - + - + -git-annex webapp --listen=192.168.21.12:46199 + - + - + -### What version of git-annex are you using? On what operating system? + - + - + -version 5.20140716-g8c14ba8 on debian wheezy using your pre build static tar archive. + - + -### Please provide any additional information below. + - + -[[!format sh """ + -# If you can, paste a complete transcript of the problem occurring here. + -# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log + - + - + -the log output is the following 3 lines + - + -[2014-07-23 16:41:45 CEST] main: starting assistant version 5.20140716-g8c14ba8 + -WebApp crashed: getAddrInfo: does not exist (Name or service not known) + -[2014-07-23 16:41:45 CEST] WebApp: warning WebApp crashed: getAddrInfo: does not exist (Name or service not known) + - + - + - + -# End of transcript or log. + -"""]] + - + -> [[done]] --[[Joey]] + diff --git a/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41_____91__2014-07-23_16:41:45_CEST__93___WebApp:_warning_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41__/comment_1_4d1b96911e3e227c7433ccea543872c1._comment b/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41_____91__2014-07-23_16:41:45_CEST__93___WebApp:_warning_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41__/comment_1_4d1b96911e3e227c7433ccea543872c1._comment + deleted file mode 100644 + index 5808c56..0000000 + --- a/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41_____91__2014-07-23_16:41:45_CEST__93___WebApp:_warning_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41__/comment_1_4d1b96911e3e227c7433ccea543872c1._comment + +++ /dev/null + @@ -1,10 +0,0 @@ + -[[!comment format=mdwn + - username="http://joeyh.name/" + - ip="24.159.78.125" + - subject="comment 1" + - date="2014-07-23T22:10:37Z" + - content=""" + -Support for --listen with a port was removed in version 5.20140306, since it was buggy. In particular, when the webapp creates a new repository, it needs to switch to a new port to serve that repository, so specifying a single port won't work. + - + -Instead, when annex.listen or --listen specifies the address to listen on, `git annex webapp` will print out the url to use to open it, including the port it picked. This could be used in a script, or clicked on in the terminal to open a local browser when running the webapp on a remote host. + -"""]] + diff --git a/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41_____91__2014-07-23_16:41:45_CEST__93___WebApp:_warning_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41__/comment_2_7be98a630e1deb655a4d1675bf622d05._comment b/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41_____91__2014-07-23_16:41:45_CEST__93___WebApp:_warning_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41__/comment_2_7be98a630e1deb655a4d1675bf622d05._comment + deleted file mode 100644 + index 2dd9885..0000000 + --- a/doc/bugs/_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41_____91__2014-07-23_16:41:45_CEST__93___WebApp:_warning_WebApp_crashed:_getAddrInfo:_does_not_exist___40__Name_or_service_not_known__41__/comment_2_7be98a630e1deb655a4d1675bf622d05._comment + +++ /dev/null + @@ -1,8 +0,0 @@ + -[[!comment format=mdwn + - username="markusk" + - ip="79.243.250.79" + - subject="comment 2" + - date="2014-07-23T23:18:37Z" + - content=""" + -Thank you for the info! Will add the port grep to my auth grep script as you suggested. + -"""]] + diff --git a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47.mdwn b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47.mdwn + new file mode 100644 + index 0000000..dae654d + --- /dev/null + +++ b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47.mdwn + @@ -0,0 +1,63 @@ + +### What steps will reproduce the problem? + +[[!format sh """ + +C:\Users\Bruno>mkdir annex + + + +C:\Users\Bruno>cd annex + + + +C:\Users\Bruno\annex>git init + +Initialized empty Git repository in C:/Users/Bruno/annex/.git/ + + + +C:\Users\Bruno\annex>git annex init + +init + + Detected a crippled filesystem. + + + + Enabling direct mode. + + + + Detected a filesystem without fifo support. + + + + Disabling ssh connection caching. + +ok + +(Recording state in git...) + + + +C:\Users\Bruno\annex>echo test > test + + + +C:\Users\Bruno\annex>git annex add . + +add test (checksum...) ok + +(Recording state in git...) + + + +C:\Users\Bruno\annex>git commit -a -m added + +[master (root-commit) 2eea610] added + + 1 file changed, 1 insertion(+) + + create mode 120000 test + + + +C:\Users\Bruno\annex>git annex sync + +(Recording state in git...) + +fatal: unable to access '../../../../C:\Users\Bruno\annex\.git/config': Invalid argument + + + +git-annex: user error (xargs ["-0","git","--git-dir=C:\\Users\\Bruno\\annex\\.git","--work-tree=C:\\Users\\Bruno\\annex","add","-f"] exited 123) + +failed + +git-annex: sync: 1 failed + +"""]] + + + +### What version of git-annex are you using? On what operating system? + +Windows 8 (64 bits) + + + +git version 1.8.4.msysgit.0 + + + +[[!format sh """ + +git-annex version: 4.20131008-ge115441 + +build flags: 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 glacier hook + +local repository version: 4 + +default repository version: 3 + +supported repository versions: 3 4 + +upgrade supported from repository versions: 2 + +"""]] + + + +### Please provide any additional information below. + +C:\Users\Bruno\annex\.git\config exists + + + +> xargs was one problem; also msysgit seems to just not + +> accept DOS style paths anymore in --git-dir or --git-work-tree. + +> megaweird. [[fixed|done]] --[[Joey]] + diff --git a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47/comment_1_e6f39b2ef55b0daa491f4b6329a906bc._comment b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47/comment_1_e6f39b2ef55b0daa491f4b6329a906bc._comment + new file mode 100644 + index 0000000..cc616aa + --- /dev/null + +++ b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47/comment_1_e6f39b2ef55b0daa491f4b6329a906bc._comment + @@ -0,0 +1,8 @@ + +[[!comment format=mdwn + + username="http://joeyh.name/" + + ip="64.134.31.139" + + subject="comment 1" + + date="2013-10-16T20:42:07Z" + + content=""" + +I don't know what to make of this bug report. You say that \"C:\Users\Bruno\annex.git\config\" exists, but you show the creation of a \"C:\Users\Bruno\annex\", and not the other repository. I cannot reproduce it, even if I first \"git init --bare annex.git\". + +"""]] + diff --git a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47/comment_2_b47d6d188f38a8e4ca5ef5f70afadf6a._comment b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47/comment_2_b47d6d188f38a8e4ca5ef5f70afadf6a._comment + new file mode 100644 + index 0000000..a40e9cb + --- /dev/null + +++ b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47/comment_2_b47d6d188f38a8e4ca5ef5f70afadf6a._comment + @@ -0,0 +1,48 @@ + +[[!comment format=mdwn + + username="https://www.google.com/accounts/o8/id?id=AItOawkGCmVc5qIJaQQgG82Hc5zzBdAVdhe2JEM" + + nickname="Bruno" + + subject="comment 2" + + date="2013-10-16T22:47:46Z" + + content=""" + +There's no other repo yet. I have the same problem when I try to sync between two repos but I simplified the instructions to reproduce the bug easily. + + + +Here's the instructions on Debian : + +[[!format sh \"\"\" + +bruno@debian:~$ mkdir annex + +bruno@debian:~$ cd annex + +bruno@debian:~/annex$ git init + +Initialized empty Dépôt git dans /home/bruno/annex/.git/ + +bruno@debian:~/annex$ git annex init + +init ok + +(Recording state in git...) + +bruno@debian:~/annex$ echo test > test + +bruno@debian:~/annex$ git annex add . + +add test (checksum...) ok + +(Recording state in git...) + +bruno@debian:~/annex$ git commit -a -m added + +[master (root-commit) 631049d] added + + 1 file changed, 1 insertion(+) + + create mode 120000 test + +bruno@debian:~/annex$ git annex sync + +commit + +ok + +bruno@debian:~/annex$\"\"\"]] + + + +It seems --git-dir wants 'c:/...' instead of 'c:\\...'. + + + +[[!format sh \"\"\" + +C:\Users\Bruno\annex>git --git-dir=C:\\Users\\Bruno\\annex\\.git --work-tree=C:\\Users\\Bruno\\annex add -f test + +fatal: unable to access '../../../../C:\\Users\\Bruno\\annex\\.git/config': Invalid argument + + + +C:\Users\Bruno\annex>git --git-dir=C:/Users/Bruno/annex/.git --work-tree=C:\\Users\\Bruno\\annex add -f test + + + +C:\Users\Bruno\annex>\"\"\"]] + + + +It's weird that I don't have any problem with the following command: + +[[!format sh \"\"\"C:\Users\Bruno\annex>git --git-dir=C:\\Users\\Bruno\\annex\\.git --work-tree=C:\\Users\\Bruno\\annex config -l + +core.symlinks=false + +core.autocrlf=true + +[...]\"\"\"]] + + + +Maybe there's a problem with `git version 1.8.4.msysgit.0`. + +"""]] + diff --git a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47/comment_4_b533b1de535a057b7ebf99afc92691ed._comment b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47/comment_4_b533b1de535a057b7ebf99afc92691ed._comment + new file mode 100644 + index 0000000..ac4a9e9 + --- /dev/null + +++ b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47/comment_4_b533b1de535a057b7ebf99afc92691ed._comment + @@ -0,0 +1,13 @@ + +[[!comment format=mdwn + + username="http://joeyh.name/" + + ip="108.236.230.124" + + subject="comment 4" + + date="2013-10-17T21:49:10Z" + + content=""" + +So this is a problem with msysgit 1.8.4. I have been able to reproduce it with that version. 1.8.3 did not have the problem. + + + +Seems to perhaps be due to the cygwin xargs flipping git into cygwin path mode somehow. (How all this works is massively complex and confusing to me.) + +All the other calls to git with identical parameters work fine. I can also reproduce the problem using some old git 1.7.x in the cygwin terminal. + + + +BTW, I noticed in your example that you ran \"git commit -a\". You should **never** do that in a [[direct mode]] repository. Read the direct mode documentation to understand why. + +"""]] + diff --git a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__.mdwn b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__.mdwn + deleted file mode 100644 + index dae654d..0000000 + --- a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__.mdwn + +++ /dev/null + @@ -1,63 +0,0 @@ + -### What steps will reproduce the problem? + -[[!format sh """ + -C:\Users\Bruno>mkdir annex + - + -C:\Users\Bruno>cd annex + - + -C:\Users\Bruno\annex>git init + -Initialized empty Git repository in C:/Users/Bruno/annex/.git/ + - + -C:\Users\Bruno\annex>git annex init + -init + - Detected a crippled filesystem. + - + - Enabling direct mode. + - + - Detected a filesystem without fifo support. + - + - Disabling ssh connection caching. + -ok + -(Recording state in git...) + - + -C:\Users\Bruno\annex>echo test > test + - + -C:\Users\Bruno\annex>git annex add . + -add test (checksum...) ok + -(Recording state in git...) + - + -C:\Users\Bruno\annex>git commit -a -m added + -[master (root-commit) 2eea610] added + - 1 file changed, 1 insertion(+) + - create mode 120000 test + - + -C:\Users\Bruno\annex>git annex sync + -(Recording state in git...) + -fatal: unable to access '../../../../C:\Users\Bruno\annex\.git/config': Invalid argument + - + -git-annex: user error (xargs ["-0","git","--git-dir=C:\\Users\\Bruno\\annex\\.git","--work-tree=C:\\Users\\Bruno\\annex","add","-f"] exited 123) + -failed + -git-annex: sync: 1 failed + -"""]] + - + -### What version of git-annex are you using? On what operating system? + -Windows 8 (64 bits) + - + -git version 1.8.4.msysgit.0 + - + -[[!format sh """ + -git-annex version: 4.20131008-ge115441 + -build flags: 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 glacier hook + -local repository version: 4 + -default repository version: 3 + -supported repository versions: 3 4 + -upgrade supported from repository versions: 2 + -"""]] + - + -### Please provide any additional information below. + -C:\Users\Bruno\annex\.git\config exists + - + -> xargs was one problem; also msysgit seems to just not + -> accept DOS style paths anymore in --git-dir or --git-work-tree. + -> megaweird. [[fixed|done]] --[[Joey]] + diff --git a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__/comment_1_e6f39b2ef55b0daa491f4b6329a906bc._comment b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__/comment_1_e6f39b2ef55b0daa491f4b6329a906bc._comment + deleted file mode 100644 + index cc616aa..0000000 + --- a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__/comment_1_e6f39b2ef55b0daa491f4b6329a906bc._comment + +++ /dev/null + @@ -1,8 +0,0 @@ + -[[!comment format=mdwn + - username="http://joeyh.name/" + - ip="64.134.31.139" + - subject="comment 1" + - date="2013-10-16T20:42:07Z" + - content=""" + -I don't know what to make of this bug report. You say that \"C:\Users\Bruno\annex.git\config\" exists, but you show the creation of a \"C:\Users\Bruno\annex\", and not the other repository. I cannot reproduce it, even if I first \"git init --bare annex.git\". + -"""]] + diff --git a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__/comment_2_b47d6d188f38a8e4ca5ef5f70afadf6a._comment b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__/comment_2_b47d6d188f38a8e4ca5ef5f70afadf6a._comment + deleted file mode 100644 + index a40e9cb..0000000 + --- a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__/comment_2_b47d6d188f38a8e4ca5ef5f70afadf6a._comment + +++ /dev/null + @@ -1,48 +0,0 @@ + -[[!comment format=mdwn + - username="https://www.google.com/accounts/o8/id?id=AItOawkGCmVc5qIJaQQgG82Hc5zzBdAVdhe2JEM" + - nickname="Bruno" + - subject="comment 2" + - date="2013-10-16T22:47:46Z" + - content=""" + -There's no other repo yet. I have the same problem when I try to sync between two repos but I simplified the instructions to reproduce the bug easily. + - + -Here's the instructions on Debian : + -[[!format sh \"\"\" + -bruno@debian:~$ mkdir annex + -bruno@debian:~$ cd annex + -bruno@debian:~/annex$ git init + -Initialized empty Dépôt git dans /home/bruno/annex/.git/ + -bruno@debian:~/annex$ git annex init + -init ok + -(Recording state in git...) + -bruno@debian:~/annex$ echo test > test + -bruno@debian:~/annex$ git annex add . + -add test (checksum...) ok + -(Recording state in git...) + -bruno@debian:~/annex$ git commit -a -m added + -[master (root-commit) 631049d] added + - 1 file changed, 1 insertion(+) + - create mode 120000 test + -bruno@debian:~/annex$ git annex sync + -commit + -ok + -bruno@debian:~/annex$\"\"\"]] + - + -It seems --git-dir wants 'c:/...' instead of 'c:\\...'. + - + -[[!format sh \"\"\" + -C:\Users\Bruno\annex>git --git-dir=C:\\Users\\Bruno\\annex\\.git --work-tree=C:\\Users\\Bruno\\annex add -f test + -fatal: unable to access '../../../../C:\\Users\\Bruno\\annex\\.git/config': Invalid argument + - + -C:\Users\Bruno\annex>git --git-dir=C:/Users/Bruno/annex/.git --work-tree=C:\\Users\\Bruno\\annex add -f test + - + -C:\Users\Bruno\annex>\"\"\"]] + - + -It's weird that I don't have any problem with the following command: + -[[!format sh \"\"\"C:\Users\Bruno\annex>git --git-dir=C:\\Users\\Bruno\\annex\\.git --work-tree=C:\\Users\\Bruno\\annex config -l + -core.symlinks=false + -core.autocrlf=true + -[...]\"\"\"]] + - + -Maybe there's a problem with `git version 1.8.4.msysgit.0`. + -"""]] + diff --git a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__/comment_4_b533b1de535a057b7ebf99afc92691ed._comment b/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__/comment_4_b533b1de535a057b7ebf99afc92691ed._comment + deleted file mode 100644 + index ac4a9e9..0000000 + --- a/doc/bugs/fatal:_unable_to_access___39__..__47__..__47__..__47__..__47__C:__92__Users__92____91__...__93____92__annex__92__.git__47__config__39__:_Invalid_argument___40__Windows__41__/comment_4_b533b1de535a057b7ebf99afc92691ed._comment + +++ /dev/null + @@ -1,13 +0,0 @@ + -[[!comment format=mdwn + - username="http://joeyh.name/" + - ip="108.236.230.124" + - subject="comment 4" + - date="2013-10-17T21:49:10Z" + - content=""" + -So this is a problem with msysgit 1.8.4. I have been able to reproduce it with that version. 1.8.3 did not have the problem. + - + -Seems to perhaps be due to the cygwin xargs flipping git into cygwin path mode somehow. (How all this works is massively complex and confusing to me.) + -All the other calls to git with identical parameters work fine. I can also reproduce the problem using some old git 1.7.x in the cygwin terminal. + - + -BTW, I noticed in your example that you ran \"git commit -a\". You should **never** do that in a [[direct mode]] repository. Read the direct mode documentation to understand why. + -"""]]