Bug 474079 - Support gitconfig's `ignorecase = true`setting
Summary: Support gitconfig's `ignorecase = true`setting
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 8
: P3 critical with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 389413
  Show dependency tree
 
Reported: 2015-08-01 00:22 EDT by Daniel Sokolowski CLA
Modified: 2018-07-20 16:33 EDT (History)
3 users (show)

See Also:


Attachments
egit-sensitivity-nightmare (156.69 KB, image/png)
2015-08-05 20:36 EDT, Daniel Sokolowski CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Sokolowski CLA 2015-08-01 00:22:41 EDT
This has caused me a bit of hair pulling, it appears that EGit is always case sensitive, that is it wants to track `Readme.txt` and `readme.txt` as separate entities.

On a windows machine when you do a pull it errors out when trying to merge in the changes or do a git reset. Also if the repository references `Readme.txt` and you locally you have `readme.txt` and you try to commit it will commit a deletion of `Readme.txt` but NO addition of `readme.txt`

A work around for me was in GIT command line set `git config core.ignorecase true`, do a pull then do `git mv Readme.txt readme.txt2; git mv readme.txt2 readme.txt` to ensure the case of my file was matching what was in the repository.

This is on:  Eclipse Git Team Provider	3.7.1.201504261725-r	org.eclipse.egit.feature.group	Eclipse EGit

I don't quiet fully understand the nuances, I think it has to do with `ignorecase = true` being set by default in SourceTree / Git command line on my co-worker machines - please reach out and I can gather more information. 

Also see: http://stackoverflow.com/a/23960663/913223
Comment 1 Daniel Sokolowski CLA 2015-08-01 00:24:14 EDT
To clarify, I think the solution should ensure the JGIT honors the `ignorecase = true` setting in `.git/config` and that there is a way to set it through the EGit preferences.
Comment 2 Daniel Sokolowski CLA 2015-08-04 09:39:35 EDT
On that note the UI is a confusing. I've been using EGit for a year now and just now learned that to get to the Repository Settings for EGit you click 'Window > Preferences > Team > Git > Configuration > Tab: Repository Settings' instead of the convention to simply right click the project root node choosing EGit preferences.

I have filled this as bug #474234: https://bugs.eclipse.org/bugs/show_bug.cgi?id=474234
Comment 3 Daniel Sokolowski CLA 2015-08-05 20:36:29 EDT
Created attachment 255655 [details]
egit-sensitivity-nightmare
Comment 4 Daniel Sokolowski CLA 2015-08-05 20:37:31 EDT
On current project this is issue make EGit unusable and our team must result to SourceTree - can you please have somebody look into it.
Comment 5 Chris Voorheis CLA 2015-11-05 10:14:19 EST
I agree.  On a windows system I'm forced to use another git client, or use the command line.  I like to use giteye, but this bug is a deal breaker for our group.  If this can't be fixed, then at least make git mv an option over the UI (somehow).

Almost all the development work at my company is on Windows machines, and I wont be able to sway anyone without this feature.