public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Johannes Sixt <j.sixt@viscovery•net>
To: Alexey Borzenkov <snaury@gmail•com>
Cc: Marius Storm-Olsen <mstormo@gmail•com>,
	git@vger•kernel.org, Johannes.Schindelin@gmx•de,
	msysgit@googlegroups•com, gitster@pobox•com, j6t@kdbg•org,
	lznuaa@gmail•com, raa.lkml@gmail•com,
	Marius Storm-Olsen <marius.storm-olsen@nokia•com>
Subject: Re: [PATCH 04/15] Set _O_BINARY as default fmode for both MinGW and MSVC
Date: Thu, 17 Sep 2009 15:30:36 +0200	[thread overview]
Message-ID: <4AB239FC.9050302@viscovery.net> (raw)
In-Reply-To: <e2480c70909170602l6afc9842v7be2b91fde9ad498@mail.gmail.com>

[for the archives: this is about intermittent failures of t3903-stash.sh
with MinGW git]

Alexey Borzenkov schrieb:
> "after finding i_tree and i_commit" is immediately before calculating
> w_tree. As you can see, "before git read-tree" is off by a second. I
> think it's just a bug in msys, cp -p doesn't preserve mtime exactly.
> :-/

Ah, now I recall everything: git-stash.sh does "cp -p", and from the times
where git-commit was still a shell script I know that this does not always
preserve the timestamp correctly. Since this is a bug attributable to MSYS
(and not MinGW git), I was satisfied by simply inserting 'sleep 1' in the
test case to avoid the racily-clean situation. (Although today, I would
modify the content to have a different size.)

-- Hannes

  reply	other threads:[~2009-09-17 13:30 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16  8:20 [PATCH v4 00/15] Build Git with MSVC Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 01/15] Avoid declaration after statement Marius Storm-Olsen
2009-09-23  9:44   ` Sebastian Schuberth
2009-09-25 13:34     ` Erik Faye-Lund
2009-09-16  8:20 ` [PATCH 02/15] Add define guards to compat/win32.h Marius Storm-Olsen
2009-09-16  9:42   ` [msysGit] " Erik Faye-Lund
2009-09-16 10:10     ` Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 03/15] Change regerror() declaration from K&R style to ANSI C (C89) Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 04/15] Set _O_BINARY as default fmode for both MinGW and MSVC Marius Storm-Olsen
2009-09-16 16:14   ` Johannes Sixt
2009-09-16 20:00     ` Alexey Borzenkov
2009-09-17  7:11       ` Johannes Sixt
2009-09-17  7:25         ` Junio C Hamano
2009-09-17  7:27         ` Marius Storm-Olsen
2009-09-17  7:36           ` Johannes Sixt
2009-09-17  7:53             ` Marius Storm-Olsen
2009-09-17  8:10               ` Johannes Sixt
2009-09-17  8:14                 ` Marius Storm-Olsen
2009-09-17  8:39                 ` Alexey Borzenkov
2009-09-17  8:45                   ` Marius Storm-Olsen
2009-09-17  8:57                     ` Alexey Borzenkov
2009-09-17  9:03                   ` Johannes Sixt
2009-09-17  9:28                     ` Marius Storm-Olsen
2009-09-17 13:02                     ` Alexey Borzenkov
2009-09-17 13:30                       ` Johannes Sixt [this message]
2009-09-17  8:02   ` Marius Storm-Olsen
2009-09-17 10:44     ` Johannes Sixt
     [not found]       ` <4AB212FA.9080102@viscovery.netm>
2009-09-17 11:04         ` Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 05/15] Fix __stdcall placement and function prototype Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 06/15] Test for WIN32 instead of __MINGW32_ Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 07/15] Add empty header files for MSVC port Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 08/15] Add MinGW header files to build git with MSVC Marius Storm-Olsen
2009-09-23 10:03   ` Sebastian Schuberth
2009-09-23 11:29     ` Marius Storm-Olsen
2009-09-25  0:18       ` [msysGit] " Frank Li
2009-09-16  8:20 ` [PATCH 09/15] Add platform files for MSVC porting Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 10/15] Make usage of windows.h lean and mean Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 11/15] Define strncasecmp and ftruncate for MSVC Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 12/15] Add MSVC to Makefile Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 13/15] Add README for MSVC build Marius Storm-Olsen
2009-09-16  8:20 ` [PATCH 14/15] Add scripts to generate projects for other buildsystems (MSVC vcproj, QMake) Marius Storm-Olsen
2009-09-17 20:28   ` Johannes Sixt
2009-09-18  6:59     ` Marius Storm-Olsen
2009-09-18  8:21       ` Johannes Sixt
2009-09-23 15:04   ` Sebastian Schuberth
2009-09-23 20:37     ` Johannes Schindelin
2009-09-24  6:05       ` Marius Storm-Olsen
2009-09-16  8:20 ` [RFC 15/15] Tag GIT_VERSION when Git is built with MSVC Marius Storm-Olsen
2009-09-17 20:18   ` Johannes Sixt
2009-09-18  6:44     ` Marius Storm-Olsen

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=4AB239FC.9050302@viscovery.net \
    --to=j.sixt@viscovery$(echo .)net \
    --cc=Johannes.Schindelin@gmx$(echo .)de \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    --cc=j6t@kdbg$(echo .)org \
    --cc=lznuaa@gmail$(echo .)com \
    --cc=marius.storm-olsen@nokia$(echo .)com \
    --cc=mstormo@gmail$(echo .)com \
    --cc=msysgit@googlegroups$(echo .)com \
    --cc=raa.lkml@gmail$(echo .)com \
    --cc=snaury@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