Git-windows case sensitive file names not handled properly

前端 未结 6 833
慢半拍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:39

    Cygwin handles case sensitivity and funny characters in filenames much better than MSys.

    Change this registry key to enable case sensitivity in Windows:

    HKLM\System\CurrentControlSet\Control\Session Manager\Kernel\ObCaseInsensitive=0

    See here for some caveats in how case sensitivity is supported in Cygwin.

提交回复
热议问题