git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git under Windows should warn or fail on entities differning only in case
@ 2010-02-12 12:40 David Hagood
  2010-02-12 13:14 ` Johannes Schindelin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David Hagood @ 2010-02-12 12:40 UTC (permalink / raw)
  To: git

I work in a mixed Windows and Linux development team where we have an
embedded project that we are storing in GIT. However, we got bit by what
is arguably a bug in Windows, but...

If you have 2 entities in a directory which have names differing only in
case, e.g. "foo" and "FOO", under a REAL operating system with case
sensitive file system semantics, this is no problem. However, under
Windows and their wonderful "Case preserving but case insensitive"
semantics, "FOO" and "foo" would be the same file, so when you
pull/checkout/clone a repo with this condition, Windows will overwrite
one file, then Git will always see a "change" because one file or the
other won't be "right".

I would suggest that git should check for this case, and generate a big
warning about it when it happens. (Yes, it sucks burdening Git with
Windows' problems....)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-02-13  6:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-12 12:40 Git under Windows should warn or fail on entities differning only in case David Hagood
2010-02-12 13:14 ` Johannes Schindelin
2010-02-12 17:31   ` Pete Harlan
2010-02-12 21:02     ` david.hagood
2010-02-12 18:19 ` Claus Färber
2010-02-12 20:38   ` Julian Phillips
2010-02-13  6:05 ` Daniel Barkalow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).