Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two outputs directories with different cases broke the git repo in mac #231

Open
wang-ye opened this issue Dec 3, 2018 · 0 comments
Open

Comments

@wang-ye
Copy link
Contributor

wang-ye commented Dec 3, 2018

Describe the bug
It is difficult to get a clean git status now on Mac. This is caused by the two directories with same name but different cases (outputs and Outputs). See below:

To Reproduce
Steps to reproduce the behavior:

18:03:15 ~/github/GoogleScraper (master) $ git status
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:   outputs/output.json

no changes added to commit (use "git add" and/or "git commit -a")
18:03:19 ~/github/GoogleScraper (master) $ git checkout -- outputs/output.json
18:03:29 ~/github/GoogleScraper (master) $ git status
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:   Outputs/output.json

Expected behavior
We should be able to see a clean "git status" output. However, due to the case insensitivity on mac, the git status can never be clean.

Desktop (please complete the following information):

  • OS: MacOs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant