{"thread":{"id":"31435","subject":"[PATCH 1/3] read-cache.c: Fix index reading breakage on cygwin","startedAt":"2012-09-04T18:47:13Z","lastAt":"2012-09-04T18:47:13Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"198332","messageId":"50464CB1.6030002@ramsay1.demon.co.uk","threadId":"31435","inReplyTo":null,"subject":"[PATCH 1/3] read-cache.c: Fix index reading breakage on cygwin","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsay1.demon.co.uk","sentAt":"2012-09-04T18:47:13Z","receivedAt":"2012-09-04T18:47:13Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"\n\nSigned-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>\n---\n read-cache.c | 2 ++\n 1 file changed, 2 insertions(+)\n\ndiff --git a/read-cache.c b/read-cache.c\nindex b69dd05..211b971 100644\n--- a/read-cache.c\n+++ b/read-cache.c\n@@ -1204,9 +1204,11 @@ static int index_changed(struct stat st_old, struct stat st_new)\n \tint changed = 0;\n \n \tif (st_old.st_mtime != st_new.st_mtime ||\n+#if !defined(__CYGWIN__)\n \t    st_old.st_uid   != st_new.st_uid ||\n \t    st_old.st_gid   != st_new.st_gid ||\n \t    st_old.st_ino   != st_new.st_ino ||\n+#endif\n \t    st_old.st_size  != st_new.st_size)\n \t\tchanged = 1;\n #ifdef USE_NSEC\n-- \n1.7.12\n"}]}