[PATCH 1/3] read-cache.c: Fix index reading breakage on cygwin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Signed-off-by: Ramsay Jones <ramsay@xxxxxxxxxxxxxxxxxxx>
---
 read-cache.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/read-cache.c b/read-cache.c
index b69dd05..211b971 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -1204,9 +1204,11 @@ static int index_changed(struct stat st_old, struct stat st_new)
 	int changed = 0;
 
 	if (st_old.st_mtime != st_new.st_mtime ||
+#if !defined(__CYGWIN__)
 	    st_old.st_uid   != st_new.st_uid ||
 	    st_old.st_gid   != st_new.st_gid ||
 	    st_old.st_ino   != st_new.st_ino ||
+#endif
 	    st_old.st_size  != st_new.st_size)
 		changed = 1;
 #ifdef USE_NSEC
-- 
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]