git clone fails on case-insensitive filesystem: doc/man/UPower.xml
$ git clone https://gitlab.freedesktop.org/upower/upower.git
Cloning into 'upower'...
remote: Enumerating objects: 7789, done.
remote: Counting objects: 100% (7789/7789), done.
remote: Compressing objects: 100% (1964/1964), done.
remote: Total 7789 (delta 6040), reused 7506 (delta 5794), pack-reused 0
Receiving objects: 100% (7789/7789), 1.30 MiB | 2.05 MiB/s, done.
Resolving deltas: 100% (6040/6040), done.
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:
'doc/man/UPower.xml'
'doc/man/upower.xml'
On macOS, by default, the filesystem is case-insensitive. So the file names doc/man/UPower.xml
and doc/man/upower.xml
refer to the same file on disk.
Maybe you should rename the files:
- UPower.xml -> UPower.7.xml
- upower.xml -> upower.1.xml
I have the problem because I use jhbuild to rebuild Gtk+ on macOS and upower is a dependency of a component.
I don't think I will really use upower on macOS :-)