summaryrefslogtreecommitdiff
path: root/doc/bugs/broken_git_annex_map_on_direct_mode.mdwn
blob: 40005a60a2c43f3d7ce74dbcd38d48a95b5aa8ec (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
### Please describe the problem.

`git annex map` shows broken graph when direct mode is used

### What steps will reproduce the problem?

See transcript

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

[[!format sh """
$ git annex version
git-annex version: 5.20140107
build flags: Assistant Webapp Pairing Testsuite S3 WebDAV Inotify DBus XMPP 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 external

$ LANG=C apt-cache policy git-annex
git-annex:
  Installed: 5.20140107
  Candidate: 5.20140107
  Version table:
 *** 5.20140107 0
         50 http://http.debian.net/debian/ sid/main amd64 Packages
        100 /var/lib/dpkg/status
"""]]


### 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

git init a
cd a
git annex init

cd ..
git clone a b
cd b
git annex init


# OK
git annex map

cd ../a
git annex direct
cd ../b

# NOT OK
git annex map

# End of transcript or log.
"""]]

> [[fixed|done]]; thanks for a good test case. --[[Joey]]