From: Ramsay Jones <ramsay@ramsay1•demon.co.uk>
To: t.gummerer@gmail•com
Cc: Junio C Hamano <gitster@pobox•com>,
GIT Mailing-list <git@vger•kernel.org>
Subject: [PATCH 1/3] read-cache.c: Fix index reading breakage on cygwin
Date: Tue, 04 Sep 2012 19:47:13 +0100 [thread overview]
Message-ID: <50464CB1.6030002@ramsay1.demon.co.uk> (raw)
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
reply other threads:[~2012-09-04 19:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50464CB1.6030002@ramsay1.demon.co.uk \
--to=ramsay@ramsay1$(echo .)demon.co.uk \
--cc=git@vger$(echo .)kernel.org \
--cc=gitster@pobox$(echo .)com \
--cc=t.gummerer@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox