summaryrefslogtreecommitdiff
path: root/doc/bugs/__34__git_annex_watch__34___adds_map.dot.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/__34__git_annex_watch__34___adds_map.dot.mdwn')
-rw-r--r--doc/bugs/__34__git_annex_watch__34___adds_map.dot.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/bugs/__34__git_annex_watch__34___adds_map.dot.mdwn b/doc/bugs/__34__git_annex_watch__34___adds_map.dot.mdwn
new file mode 100644
index 000000000..d6dc3e42d
--- /dev/null
+++ b/doc/bugs/__34__git_annex_watch__34___adds_map.dot.mdwn
@@ -0,0 +1,19 @@
+"git annex watch" will add the file generated by "git annex map", which is probably not intended. Shouldn’t this file be created in /tmp or .git/annex/ or somewhere else?
+
+ /tmp $ cd test/
+ /tmp/test $ git init
+ Initialized empty Git repository in /tmp/test/.git/
+ /tmp/test $ git annex init
+ init ok
+ (Recording state in git...)
+ /tmp/test $ git annex watch
+ /tmp/test $ git annex map
+ map /tmp/test ok
+
+ running: dot -Tx11 map.dot
+
+ ok
+ /tmp/test $ ls -l
+ insgesamt 4
+ lrwxrwxrwx 1 jojo jojo 180 Jul 15 23:36 map.dot -> .git/annex/objects/P3/76/SHA256-s208--44199582b5948512ff12cf03de0b86fa1bebf09785dba2827fe52afee0afbe3d/SHA256-s208--44199582b5948512ff12cf03de0b86fa1bebf09785dba2827fe52afee0afbe3d
+