{"action":"created","issue":{"url":"https://api.github.com/repos/Shougo/unite.vim/issues/891","labels_url":"https://api.github.com/repos/Shougo/unite.vim/issues/891/labels{/name}","comments_url":"https://api.github.com/repos/Shougo/unite.vim/issues/891/comments","events_url":"https://api.github.com/repos/Shougo/unite.vim/issues/891/events","html_url":"https://github.com/Shougo/unite.vim/issues/891","id":66770664,"number":891,"title":"file_rec/git not obeying symlinks + submodules","user":{"login":"tony","id":26336,"avatar_url":"https://avatars.githubusercontent.com/u/26336?v=3","gravatar_id":"","url":"https://api.github.com/users/tony","html_url":"https://github.com/tony","followers_url":"https://api.github.com/users/tony/followers","following_url":"https://api.github.com/users/tony/following{/other_user}","gists_url":"https://api.github.com/users/tony/gists{/gist_id}","starred_url":"https://api.github.com/users/tony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tony/subscriptions","organizations_url":"https://api.github.com/users/tony/orgs","repos_url":"https://api.github.com/users/tony/repos","events_url":"https://api.github.com/users/tony/events{/privacy}","received_events_url":"https://api.github.com/users/tony/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-07T04:12:47Z","updated_at":"2015-04-07T05:07:27Z","closed_at":null,"body":"Interesting ``file_rec/git`` issue.\r\n\r\nvim config: https://github.com/tony/vim-config/blob/6d1f5f18c55367c33e6a230a1931db677d6cd8a9/settings/unite.vim\r\n\r\nI have the following directories:\r\n\r\n```\r\ntony at yoga in ~ \r\n$ ls -al\r\ndrwxr-xr-x  13 tony tony    4096 Apr  1 02:15 .dot-config\r\nlrwxrwxrwx   1 tony tony      27 Dec  6 10:58 .vim -> /home/tony/.dot-config/.vim\r\nlrwxrwxrwx   1 tony tony      11 Dec 14 21:22 .vimrc -> .vim/.vimrc\r\n```\r\n\r\n``~/.dot-config`` is https://github.com/tony/.dot-config. It's filled with git submodules. I clone this repository and symlink them to ``$HOME``.\r\n\r\nWhen I am inside of ``~/.vim`` (which symlinks to ``~/.dot-config/.vim``, which is a git submodule), unite.vim is giving me the wrong files:\r\n\r\n```\r\n                                                                                                                     \r\nbuffer       2 %a  No Name (06-04-2015 23:08:55)                                                                     \r\nfile_rec/git .editorconfig (.dot-config)           ~/.dot-config                                                     \r\nfile_rec/git .gitignore (.dot-config)              ~/.dot-config                                                     \r\nfile_rec/git .vimrc (.dot-config)                  ~/.dot-config                                                     \r\nfile_rec/git README.rst (.dot-config)              ~/.dot-config                                                     \r\nfile_rec/git TODO.rst (.dot-config)                ~/.dot-config                                                     \r\nfile_rec/git autocmd.vim (.dot-config)             ~/.dot-config                                                     \r\nfile_rec/git bundles.vim (.dot-config)             ~/.dot-config                                                     \r\nfile_rec/git colors.vim (.dot-config)              ~/.dot-config                                                     \r\nfile_rec/git bowerrc.vim (ftdetect)                ~/.dot-config/ftdetect                                            \r\nfile_rec/git jshintrc.vim (ftdetect)               ~/.dot-config/ftdetect                                            \r\nfile_rec/git watchmanconfig.vim (ftdetect)         ~/.dot-config/ftdetect                                            \r\nfile_rec/git functions.vim (.dot-config)           ~/.dot-config                                                     \r\nfile_rec/git ignore.vim (.dot-config)              ~/.dot-config                                                     \r\nfile_rec/git keymappings.vim (.dot-config)         ~/.dot-config                                                     \r\nfile_rec/git quickfix.vim (.dot-config)            ~/.dot-config                                                     \r\nfile_rec/git settings.vim (.dot-config)            ~/.dot-config                                                     \r\nfile_rec/git LaTeX-Box.vim (settings)              ~/.dot-config/settings                                            \r\nfile_rec/git NERDCommenter.vim (settings)          ~/.dot-config/settings                                            \r\nfile_rec/git NERDTree.vim (settings)               ~/.dot-config/settings                                            \r\nfile_rec/git airline.vim (settings)                ~/.dot-config/settings                                            \r\nfile_rec/git ctrlp.vim (settings)                  ~/.dot-config/settings                                            \r\nfile_rec/git delimitMate.vim (settings)            ~/.dot-config/settings                                            \r\nfile_rec/git easymotion.vim (settings)             ~/.dot-config/settings                                            \r\nfile_rec/git fugitive.vim (settings)               ~/.dot-config/settings                                            \r\nfile_rec/git gitgutter.vim (settings)              ~/.dot-config/settings                                            \r\nfile_rec/git hardtime.vim (settings)               ~/.dot-config/settings                                            \r\nfile_rec/git jedi.vim (settings)                   ~/.dot-config/settings                                            \r\nfile_rec/git jsbeautify.vim (settings)             ~/.dot-config/settings                                            \r\nfile_rec/git neocompleterc.vim (settings)          ~/.dot-config/settings                                            \r\nfile_rec/git pymode.vim (settings)                 ~/.dot-config/settings                                            \r\nfile_rec/git rainbow_parentheses.vim (settings)    ~/.dot-config/settings                                            \r\nfile_rec/git startify.vim (settings)               ~/.dot-config/settings                                            \r\nfile_rec/git supertab.vim (settings)               ~/.dot-config/settings                                            \r\nfile_rec/git syntastic.vim (settings)              ~/.dot-config/settings                                            \r\nfile_rec/git tagbar.vim (settings)                 ~/.dot-config/settings                                            \r\nfile_rec/git tcomment.vim (settings)               ~/.dot-config/settings                                            \r\nfile_rec/git ultisnips.vim (settings)              ~/.dot-config/settings                                            \r\nfile_rec/git unite.vim (settings)                  ~/.dot-config/settings                                            \r\nfile_rec/git vim-go.vim (settings)                 ~/.dot-config/settings                                            \r\nfile_rec/git vim-multiple-cursors.vim (settings)   ~/.dot-config/settings                                            \r\nfile_rec/git vim-nodejs-complete.vim (settings)    ~/.dot-config/settings                                            \r\nfile_rec/git vim-rooter.vim (settings)             ~/.dot-config/settings                                            \r\nfile_rec/git vimfiler.vim (settings)               ~/.dot-config/settings                                            \r\nfile_rec/git vimshell.vim (settings)               ~/.dot-config/settings                                            \r\nfile_rec/git youcompleteme.vim (settings)          ~/.dot-config/settings                                            \r\n~                                                                                                                    \r\n~                                                                                                                    \r\n~                                                                                                                    \r\n~                                                                                                                    \r\n~                                                                                                                    \r\n~                                                                                                                    \r\n buffer(1) file_rec/git(45)                                                   directory: /home/tony/.dot-config  1/47\r\n[file_rec/git] directory: /home/tony/.dot-config                                                                     \r\n```\r\n\r\nVim's ``pwd`` is ``/home/tony/.dot-config/.vim``.  The expected behavior would be to show ``/home/tony/.dot-config/.vim`` (the true path) or ``/home/tony/.vim`` (the symlinked directory I'm inside of).\r\n\r\n```\r\n$ vim --version\r\nVIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr  5 2015 13:16:22)\r\nIncluded patches: 1-691\r\nCompiled by tony@yoga\r\nHuge version without GUI.  Features included (+) or not (-):\r\n+acl             +farsi           +mouse_netterm   +syntax\r\n+arabic          +file_in_path    +mouse_sgr       +tag_binary\r\n+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static\r\n-balloon_eval    +float           +mouse_urxvt     -tag_any_white\r\n-browse          +folding         +mouse_xterm     -tcl\r\n++builtin_terms  -footer          +multi_byte      +terminfo\r\n+byte_offset     +fork()          +multi_lang      +termresponse\r\n+cindent         +gettext         -mzscheme        +textobjects\r\n+clientserver    -hangul_input    +netbeans_intg   +title\r\n+clipboard       +iconv           +path_extra      -toolbar\r\n+cmdline_compl   +insert_expand   -perl            +user_commands\r\n+cmdline_hist    +jumplist        +persistent_undo +vertsplit\r\n+cmdline_info    +keymap          +postscript      +virtualedit\r\n+comments        +langmap         +printer         +visual\r\n+conceal         +libcall         +profile         +visualextra\r\n+cryptv          +linebreak       +python          +viminfo\r\n+cscope          +lispindent      -python3         +vreplace\r\n+cursorbind      +listcmds        +quickfix        +wildignore\r\n+cursorshape     +localmap        +reltime         +wildmenu\r\n+dialog_con      +lua             +rightleft       +windows\r\n+diff            +menu            -ruby            +writebackup\r\n+digraphs        +mksession       +scrollbind      +X11\r\n-dnd             +modify_fname    +signs           +xfontset\r\n-ebcdic          +mouse           +smartindent     -xim\r\n+emacs_tags      -mouseshape      -sniff           +xsmp_interact\r\n+eval            +mouse_dec       +startuptime     +xterm_clipboard\r\n+ex_extra        -mouse_gpm       +statusline      -xterm_save\r\n+extra_search    -mouse_jsbterm   -sun_workshop    -xpm\r\n   system vimrc file: \"$VIM/vimrc\"\r\n     user vimrc file: \"$HOME/.vimrc\"\r\n 2nd user vimrc file: \"~/.vim/vimrc\"\r\n      user exrc file: \"$HOME/.exrc\"\r\n  fall-back for $VIM: \"/usr/local/share/vim\"\r\nCompilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      \r\nLinking: gcc   -L/usr/local/lib -Wl,--as-needed -o vim    -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl   -ldl  -L/usr/lib -llua5.2  -L/usr/lib/python2.7/config -lpython2.7      \r\n```"},"comment":{"url":"https://api.github.com/repos/Shougo/unite.vim/issues/comments/90361322","html_url":"https://github.com/Shougo/unite.vim/issues/891#issuecomment-90361322","issue_url":"https://api.github.com/repos/Shougo/unite.vim/issues/891","id":90361322,"user":{"login":"Shougo","id":41495,"avatar_url":"https://avatars.githubusercontent.com/u/41495?v=3","gravatar_id":"","url":"https://api.github.com/users/Shougo","html_url":"https://github.com/Shougo","followers_url":"https://api.github.com/users/Shougo/followers","following_url":"https://api.github.com/users/Shougo/following{/other_user}","gists_url":"https://api.github.com/users/Shougo/gists{/gist_id}","starred_url":"https://api.github.com/users/Shougo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shougo/subscriptions","organizations_url":"https://api.github.com/users/Shougo/orgs","repos_url":"https://api.github.com/users/Shougo/repos","events_url":"https://api.github.com/users/Shougo/events{/privacy}","received_events_url":"https://api.github.com/users/Shougo/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T05:07:27Z","updated_at":"2015-04-07T05:07:27Z","body":"Please upload `git ls-files --full-name` result."}}