summaryrefslogtreecommitdiff
path: root/doc/bugs/git-annex_fix_not_noticing_file_renames.mdwn
blob: 4a7a965d1dbf3dac10b7f79466e8b2fef58ee3bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
What steps will reproduce the problem?

    ~$ mkdir testannex
    ~$ cd testannex/
    testannex$ git init
    Initialized empty Git repository in /Users/ed/testannex/.git/
    testannex$ git annex init "test annex"
    init test annex ok
    (Recording state in git...)
    testannex$ echo "file1" > file1
    testannex$ git annex add file1
    add file1 (checksum...) ok
    (Recording state in git...)
    testannex$ mkdir directory
    testannex$ mv file1 directory/
    testannex$ cat directory/file1 
    cat: directory/file1: No such file or directory
    testannex$ git annex fix directory/file1
    git-annex: directory/file1 not found


What is the expected output? What do you see instead?

    git annex fix should fix the symlink.  It looks like maybe it's *following* the symlink?

What version of git-annex are you using? On what operating system?

    checkout:  20d195f   compiled on OS X 10.7 using cabal.  

Please provide any additional information below.

    git annex assistant is not noticing file renames either.