aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Valentin_Haenel <Valentin_Haenel@web>2011-11-05 16:31:18 +0000
committerGravatar admin <admin@branchable.com>2011-11-05 16:31:18 +0000
commit526c20d06831706ced573ee0ea5f066976d8ed03 (patch)
tree533a800aa8ddc6849242ccdfc994f18b4148747e
parent0bb798e3516d5b4e8cdcf059572c54641f7a643a (diff)
add bug report
-rw-r--r--doc/bugs/git_annex_map_has_problems_with_urls_containing___126__.mdwn44
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_map_has_problems_with_urls_containing___126__.mdwn b/doc/bugs/git_annex_map_has_problems_with_urls_containing___126__.mdwn
new file mode 100644
index 000000000..c6eb7bc73
--- /dev/null
+++ b/doc/bugs/git_annex_map_has_problems_with_urls_containing___126__.mdwn
@@ -0,0 +1,44 @@
+I discovered a problem with `git annex map` and relative urls containing `~`.
+In this case i have a remote `noam` configured with the the following urls:
+
+ zsh» git remote show noam | head -3
+ * remote noam
+ Fetch URL: noam:bare-annex
+ Push URL: noam:bare-annex
+
+If i try to run `git annex map` i get the following error:
+
+ zsh» git annex map
+ map /home/esc/annex ok
+ map noam (sshing...)
+ bash: line 0: cd: /~/bare-annex/: No such file or directory
+ Command ssh ["noam","cd '/~/bare-annex/' && git config --list"] failed; exit code 1
+ (sshing...)
+ ok
+
+ running: dot -Tx11 map.dot
+
+ ok
+
+If i run the failing command manually, i get:
+
+ zsh» ssh noam "cd ~/bare-annex && git config --list"
+ core.repositoryformatversion=0
+ core.filemode=true
+ core.bare=true
+ annex.uuid=f267f55c-0732-11e1-a93b-93119f9aaf54
+ annex.version=3
+
+Also i can change the remote url to an absolute one, in which case `git annex
+map` works too:
+
+ zsh» git remote set-url noam noam:/home/esc/bare-annex
+ zsh» git annex map
+ map /home/esc/annex ok
+ map noam (sshing...)
+ ok
+
+ running: dot -Tx11 map.dot
+
+ ok
+