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