Git-windows case sensitive file names not handled properly

前端 未结 6 826
慢半拍i
慢半拍i 2020-12-13 17:54

We have the git bare repository in unix that has files with same name that differs only in cases.

Example:

GRANT.sql
grant.sql

When

6条回答
  •  时光取名叫无心
    2020-12-13 18:51

    I'm not sure this is even possible. Git's ignorecase handles discrepancies in the case of the one file. It won't work around Window's inability to have two filenames in the one directory that differ only by case.

    FWIW, having two identical filenames but for their case is a really bad idea, even on Unix.

提交回复
热议问题