Strange behaviour of Git: mysterious changes cannot be undone

后端 未结 3 551
误落风尘
误落风尘 2020-12-14 08:22

I am seeing a behaviour in Git which seems very mysterious to me. I keep a clone of the Linux repository from Github to play with Git locally. To be clear, I don\'t do much

3条回答
  •  难免孤独
    2020-12-14 09:04

    The Linux source tree has filenames which differ in case only, which causes interesting failures on systems with case-insensitive filesystems.

    You need a case-sensitive filesystem in order to work with the Linux source.

    (include/linux/netfilter/xt_connmark.h and include/linux/netfilter/xt_CONNMARK.h are two different files in the Git repository, but only one can exist in your checkout at a time if your filesystem is case-insensitive.)

提交回复
热议问题