git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Sep 4, 2012, 18:47 UTC
Message-ID
<50464CB1.6030002@ramsay1.demon.co.uk>
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
Message 1 of 1 in “read-cache.c: Fix index reading breakage on cygwin”
  1. 1/3 read-cache.c: Fix index reading breakage on cygwinRamsay Jones, Sep 4, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.