public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH 1/3] read-cache.c: Fix index reading breakage on cygwin
@ 2012-09-04 18:47 Ramsay Jones
  0 siblings, 0 replies; only message in thread
From: Ramsay Jones @ 2012-09-04 18:47 UTC (permalink / raw)
  To: t.gummerer; +Cc: Junio C Hamano, GIT Mailing-list



Signed-off-by: Ramsay Jones <ramsay@ramsay1•demon.co.uk>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-04 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-04 18:47 [PATCH 1/3] read-cache.c: Fix index reading breakage on cygwin Ramsay Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox