{"action":"created","issue":{"url":"https://api.github.com/repos/odeke-em/drive/issues/104","labels_url":"https://api.github.com/repos/odeke-em/drive/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/odeke-em/drive/issues/104/comments","events_url":"https://api.github.com/repos/odeke-em/drive/issues/104/events","html_url":"https://github.com/odeke-em/drive/issues/104","id":62235946,"number":104,"title":"\"drive push\" not picking up changes when calling command outside of GD_ROOT","user":{"login":"ikwyl6","id":1643833,"avatar_url":"https://avatars.githubusercontent.com/u/1643833?v=3","gravatar_id":"","url":"https://api.github.com/users/ikwyl6","html_url":"https://github.com/ikwyl6","followers_url":"https://api.github.com/users/ikwyl6/followers","following_url":"https://api.github.com/users/ikwyl6/following{/other_user}","gists_url":"https://api.github.com/users/ikwyl6/gists{/gist_id}","starred_url":"https://api.github.com/users/ikwyl6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikwyl6/subscriptions","organizations_url":"https://api.github.com/users/ikwyl6/orgs","repos_url":"https://api.github.com/users/ikwyl6/repos","events_url":"https://api.github.com/users/ikwyl6/events{/privacy}","received_events_url":"https://api.github.com/users/ikwyl6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-16T23:25:59Z","updated_at":"2015-03-17T00:37:20Z","closed_at":null,"body":"Version `drive version\r\ndrive version 0.1.3\r\n`\r\n\r\n1) I copied files from one directory (outside of google drive root) to a folder within my google drive root, $GD/Documents/SOME_PATH1/SOME_PATH2 using a desktop file manager\r\n2) Open command line, do: `drive push $GD/Documents/SOME_PATH1` from outside of my google drive root.\r\n\r\nI know there are files there and the diff shows that (below). All commands are run from outside of my \"init\" google drive path:\r\n\r\n```\r\n$ drive push $GD/Documents/SOME_PATH1/\r\nResolving...\r\nThese 1 file(s) would be overwritten. Use -ignore-conflict to override this behaviour\r\n/Documents/SOME_PATH1/SOME_PATH2/new doc.pdf\r\n$\r\n```\r\nBut running:\r\n`drive diff $GD/Documents/SOME_PATH1/SOME_PATH2` gives:\r\n```\r\n* remote:         2014-12-28T14:03:14.000Z                \r\n* local:          2013-04-13T00:52:14.000Z                \r\n********************************************************************************\r\nFILE.file1\r\n********************************************************************************\r\n* remote:         2014-12-28T14:01:36.000Z                \r\n* local:          2013-04-13T00:52:17.000Z                \r\n********************************************************************************\r\nFILE.file2\r\n********************************************************************************\r\n********************************************************************************\r\nFILE.file2 only on remote\r\n********************************************************************************\r\nFILE.file3 only on remote\r\n* remote:         2013-03-10T21:35:28.000Z                \r\n* local:          2013-03-10T21:35:15.000Z                \r\n********************************************************************************\r\nFILE.file4 only on local\r\n********************************************************************************\r\nFILE.file5 only on local\r\n```\r\n\r\nUPDATE: Upon further inspection, and perhaps a different bug, I think this is from timestamped files not being newer than the most recent file in the target directory since the last push. IE: The files I copied into these directories above are timestamped as 2013 and drive is not picking this up. They are new files to the SOME_PATH2 directory but they are not seen by drive."},"comment":{"url":"https://api.github.com/repos/odeke-em/drive/issues/comments/82005741","html_url":"https://github.com/odeke-em/drive/issues/104#issuecomment-82005741","issue_url":"https://api.github.com/repos/odeke-em/drive/issues/104","id":82005741,"user":{"login":"odeke-em","id":4898263,"avatar_url":"https://avatars.githubusercontent.com/u/4898263?v=3","gravatar_id":"","url":"https://api.github.com/users/odeke-em","html_url":"https://github.com/odeke-em","followers_url":"https://api.github.com/users/odeke-em/followers","following_url":"https://api.github.com/users/odeke-em/following{/other_user}","gists_url":"https://api.github.com/users/odeke-em/gists{/gist_id}","starred_url":"https://api.github.com/users/odeke-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odeke-em/subscriptions","organizations_url":"https://api.github.com/users/odeke-em/orgs","repos_url":"https://api.github.com/users/odeke-em/repos","events_url":"https://api.github.com/users/odeke-em/events{/privacy}","received_events_url":"https://api.github.com/users/odeke-em/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T00:37:20Z","updated_at":"2015-03-17T00:37:20Z","body":"The logs would be ideal. Also I'd rather close this issue and open something else or see if there is such an issue present. Otherwise there will be too much noise in this issue in case folks are looking at it."}}