Re: [PATCH v4] clone: report duplicate entries on case-insensitive filesystems
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Aug 16, 2018, 15:42 UTC
- Message-ID
- <CACsJy8AwfFNJp56rdmGe8ZqZhjCeOZ16i8YX6AhSwJPHg=1EFQ@mail.gmail.com>
- In-Reply-To
- <20180816140312.GA6102@tor.lan>
On Thu, Aug 16, 2018 at 4:03 PM Torsten Bögershausen <tboegi@web.de> wrote:
> check_stat is 0 on Windows,
How? check_stat is 1 by default. And "git init" does not add this key on new repos.
> Now back to the compiler switch: > Windows always set inum to 0 and I can't think about a situation where > a file in a working tree gets inum = 0, can we use the following:
I did consider using zero inum, but dropped it when thinking about checking all file systems. Are you sure zero inode can't be valid?
-- Duy