protobuf.txt and Protobuf.txt causing git issues on Mac OS
Disclaimer: I am completely new to f-droid.
In the srclibs directory, there are two files:
- protobuf.txt
- Protobuf.txt
I'm working on a mac, and my file system is case insensitive. So, I only see one of these files. When I do git status, I see that the capital one appears modified (even though I didn't touch it):
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: srclibs/Protobuf.txt
If I then do "git checkout -- srclibs/Protobuf.txt" to attempt to remove any changes, then "git status", I see that it's now the lowercase one which is "modified":
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: srclibs/protobuf.txt
I can't do "git stash" or "git checkout -- srclibs" to have a repo with no local changes.
I will investigate creating a partition or virtual disk somehow which is case sensitive, but it would be nice if I didn't have to :)