aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/__34__git_annex_watch__34___adds_map.dot.mdwn
blob: 94c495735e5d88aa78b975620e7bcd2f987e47b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"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?

> Indeed, so [[done]] --[[Joey]]

    /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