Having in the same directory two different files with filenames different only in the case (ChangeLog and CHANGELOG) creates problems on a case-insenstivie operating systems such as Mac. Would it be possible to rename CHANGELOG for example to CHANGELOG.tainted?
Here's what happens on a Mac - you get one of the above files shown as modified even if you have not changed anything and no matter how many times you try git reset -hard:
$ git st
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
modified: CHANGELOG
no changes added to commit (use "git add" and/or "git commit -a")
$ git reset --hard
HEAD is now at 224a1e1 Merge pull request #27 from neraliu/devel
$ git st
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
modified: ChangeLog
no changes added to commit (use "git add" and/or "git commit -a")
Having in the same directory two different files with filenames different only in the case (ChangeLog and CHANGELOG) creates problems on a case-insenstivie operating systems such as Mac. Would it be possible to rename CHANGELOG for example to CHANGELOG.tainted?
Here's what happens on a Mac - you get one of the above files shown as modified even if you have not changed anything and no matter how many times you try
git reset -hard
:$ git st On branch master Your branch is up-to-date with 'origin/master'.
Changes not staged for commit: (use "git add..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
no changes added to commit (use "git add" and/or "git commit -a") $ git reset --hard HEAD is now at 224a1e1 Merge pull request #27 from neraliu/devel $ git st On branch master Your branch is up-to-date with 'origin/master'.
Changes not staged for commit: (use "git add..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
no changes added to commit (use "git add" and/or "git commit -a")