Re: [PATCH] Fix update-index --refresh for submodules if stat(2) returns st_size 0

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Riesen
Date: Monday, July 21, 2008 - 12:43 pm

Johannes Schindelin, Mon, Jul 21, 2008 20:20:43 +0200:

Well, I'm really not sure. I just found this difference between linux
and cygwin (st_stat is 0 for dirs on cygwin). Than I noticed that the
routine where I made the change explicitely checks for st_size not
being 0. I must admit I can't make much out of comment, and hope this
discussion will help to clear the check up.


Could you, just for completeness, try? I don't have mingw at hand
and SUSv3 (http://www.opengroup.org/onlinepubs/009695399/toc.htm)
does not tells much too. No UNIX system I know about has it 0 for
directories.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Fix update-index --refresh for submodules if s ..., Johannes Schindelin, (Mon Jul 21, 11:20 am)
Re: [PATCH] Fix update-index --refresh for submodules if s ..., Alex Riesen, (Mon Jul 21, 12:43 pm)
Re: [PATCH] Fix update-index --refresh for submodules if s ..., Johannes Schindelin, (Mon Jul 21, 4:26 pm)
Re: [PATCH] Build configuration to skip ctime for modifica ..., Johannes Schindelin, (Tue Jul 22, 1:17 pm)
git svn throws locale related error when built from source, Anton Mostovoy, (Wed Jul 23, 9:00 am)