{"action":"created","issue":{"url":"https://api.github.com/repos/isomorphic-git/isomorphic-git/issues/362","repository_url":"https://api.github.com/repos/isomorphic-git/isomorphic-git","labels_url":"https://api.github.com/repos/isomorphic-git/isomorphic-git/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/isomorphic-git/isomorphic-git/issues/362/comments","events_url":"https://api.github.com/repos/isomorphic-git/isomorphic-git/issues/362/events","html_url":"https://github.com/isomorphic-git/isomorphic-git/issues/362","id":346499955,"node_id":"MDU6SXNzdWUzNDY0OTk5NTU=","number":362,"title":"Git status shows .png files modified directly after clones.","user":{"login":"NasonLee","id":18033354,"node_id":"MDQ6VXNlcjE4MDMzMzU0","avatar_url":"https://avatars2.githubusercontent.com/u/18033354?v=4","gravatar_id":"","url":"https://api.github.com/users/NasonLee","html_url":"https://github.com/NasonLee","followers_url":"https://api.github.com/users/NasonLee/followers","following_url":"https://api.github.com/users/NasonLee/following{/other_user}","gists_url":"https://api.github.com/users/NasonLee/gists{/gist_id}","starred_url":"https://api.github.com/users/NasonLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NasonLee/subscriptions","organizations_url":"https://api.github.com/users/NasonLee/orgs","repos_url":"https://api.github.com/users/NasonLee/repos","events_url":"https://api.github.com/users/NasonLee/events{/privacy}","received_events_url":"https://api.github.com/users/NasonLee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-01T08:32:14Z","updated_at":"2018-08-01T23:38:55Z","closed_at":null,"author_association":"NONE","body":"Please be sure to mention:\r\n- whether you are using Node or the Browser\r\n- how you are using it (if you are using a bundler what bundler; if you are using a `<script>` tag what CDN URL)\r\n\r\nA1: I use Node.\r\nA2: \r\n`1 const git = require(\"isomorphic-git\");`\r\n`2 let repo = {fs, dir: PATH}`\r\n`3 function gitClone(){`\r\n`4      git.clone({`\r\n`5          ...repo,`\r\n`6         url: REPOSITORY_URL,`\r\n`7         username: username,`\r\n`8         password: password,`\r\n`9         singleBranch: false,`\r\n`10    });`\r\n`11 }`\r\nWhen I do this command.\r\n$ git status\r\n\r\nresults as follow:\r\n        modified:   zzz/images/icon-128.png\r\n\tmodified:   xxx/yyy/zzz-16.png\r\n\tmodified:   rrr/xxx/nee/images/su.png\r\n\tmodified:   tt/cccc/ssss/image/icon-16.png\r\n\r\nAll my images  were modified, but I didn't change any file.\r\nI feel unsure about it. Can anyone tell me that? \r\nTnanks."},"comment":{"url":"https://api.github.com/repos/isomorphic-git/isomorphic-git/issues/comments/409759426","html_url":"https://github.com/isomorphic-git/isomorphic-git/issues/362#issuecomment-409759426","issue_url":"https://api.github.com/repos/isomorphic-git/isomorphic-git/issues/362","id":409759426,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTc1OTQyNg==","user":{"login":"wmhilton","id":587740,"node_id":"MDQ6VXNlcjU4Nzc0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/587740?v=4","gravatar_id":"","url":"https://api.github.com/users/wmhilton","html_url":"https://github.com/wmhilton","followers_url":"https://api.github.com/users/wmhilton/followers","following_url":"https://api.github.com/users/wmhilton/following{/other_user}","gists_url":"https://api.github.com/users/wmhilton/gists{/gist_id}","starred_url":"https://api.github.com/users/wmhilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmhilton/subscriptions","organizations_url":"https://api.github.com/users/wmhilton/orgs","repos_url":"https://api.github.com/users/wmhilton/repos","events_url":"https://api.github.com/users/wmhilton/events{/privacy}","received_events_url":"https://api.github.com/users/wmhilton/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T23:38:55Z","updated_at":"2018-08-01T23:38:55Z","author_association":"MEMBER","body":"That is... interesting!\r\n\r\na) ARE the files actually modified / corrupted (e.g. some bug in my code that saves files to disk) or does git merely THINK they are modified (which could be a bug in my .git/index code)? \r\nb) Is it only PNG files that do this or all file types?\r\n\r\nAlso... are you on Windows, Mac, or Linux? Maybe it's a file mode thing.... 🤔 "}}
{"actor":{"display_login":"wmhilton"}}