{"action":"created","issue":{"url":"https://api.github.com/repos/svent/sift/issues/31","labels_url":"https://api.github.com/repos/svent/sift/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/svent/sift/issues/31/comments","events_url":"https://api.github.com/repos/svent/sift/issues/31/events","html_url":"https://github.com/svent/sift/issues/31","id":112925964,"number":31,"title":"Search path keep expanded. (in Git Bash, Windows)","user":{"login":"kybin","id":595519,"avatar_url":"https://avatars.githubusercontent.com/u/595519?v=3","gravatar_id":"","url":"https://api.github.com/users/kybin","html_url":"https://github.com/kybin","followers_url":"https://api.github.com/users/kybin/followers","following_url":"https://api.github.com/users/kybin/following{/other_user}","gists_url":"https://api.github.com/users/kybin/gists{/gist_id}","starred_url":"https://api.github.com/users/kybin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kybin/subscriptions","organizations_url":"https://api.github.com/users/kybin/orgs","repos_url":"https://api.github.com/users/kybin/repos","events_url":"https://api.github.com/users/kybin/events{/privacy}","received_events_url":"https://api.github.com/users/kybin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-23T01:50:18Z","updated_at":"2015-11-01T15:48:25Z","closed_at":"2015-11-01T15:48:25Z","body":"in Git Bash, during searching I could see these errors.\r\n\r\n```\r\nError: cannot open file 'C:\\Users\\Administrator\\AppData\\Local\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Temp\\Administrator.20150930.1444.ma-ScriptEditor-2': open C:\\Users\\Administrator\\AppData\\Local\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Temp\\Administrator.20150930.1444.ma-ScriptEditor-2: The system cannot find the path specified.\r\nError: cannot open file 'C:\\Users\\Administrator\\AppData\\Local\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Temp\\Administrator.20150930.1444.ma-ScriptEditor-3': open C:\\Users\\Administrator\\AppData\\Local\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Temp\\Administrator.20150930.1444.ma-ScriptEditor-3: The system cannot find the path specified.\r\n```\r\n\r\n... it reports same error repeatedly.\r\n\r\nThere is no 'Application Data' folder in AppData\\Local. The actual path is AppData\\Local\\Temp.\r\n\r\nIt seems gitbash's only problem. When I searching from cmd no error occured.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/svent/sift/issues/comments/152839635","html_url":"https://github.com/svent/sift/issues/31#issuecomment-152839635","issue_url":"https://api.github.com/repos/svent/sift/issues/31","id":152839635,"user":{"login":"svent","id":202784,"avatar_url":"https://avatars.githubusercontent.com/u/202784?v=3","gravatar_id":"","url":"https://api.github.com/users/svent","html_url":"https://github.com/svent","followers_url":"https://api.github.com/users/svent/followers","following_url":"https://api.github.com/users/svent/following{/other_user}","gists_url":"https://api.github.com/users/svent/gists{/gist_id}","starred_url":"https://api.github.com/users/svent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svent/subscriptions","organizations_url":"https://api.github.com/users/svent/orgs","repos_url":"https://api.github.com/users/svent/repos","events_url":"https://api.github.com/users/svent/events{/privacy}","received_events_url":"https://api.github.com/users/svent/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T15:48:25Z","updated_at":"2015-11-01T15:48:25Z","body":"sift does not even follow symlinks, but unfortunately a junction on windows is not detected as a \"symlink\".\r\nI guess following these junctions is not a problem in normal cases, but of course recursive directories structures lead to problems.\r\nIt seems that (at least currently) these kind of juctions are not easily (i.e. without ugly workarounds) detectable from golang. I would suggest to use something like ```--exclude-dirs 'Application Data'``` to handle these cases."}}