Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseGit overlay icon is red but all files are commited

I committed all of my files and my commit list in TortoiseGit is empty but some of my folders are red.

  • I killed TGitCache.exe from task manager, but nothing happened.
  • I renamed my folder (by adding a number at the end of folder name) and reverting back to main name and problem still remains.
  • And finally, I did this workaround (https://stackoverflow.com/a/42757933/3428078) but it did not work for me.

Has anyone ever encountered this problem?

like image 327
Hussein Jahanbakhsh Avatar asked Nov 22 '17 13:11

Hussein Jahanbakhsh


People also ask

What is commit in TortoiseGit?

Storing the changes you made to your working tree is known as committing the changes.

How do I restart TortoiseGit?

Left click -> Customize -> Menu tab and hit Reset/Restore.

Is TortoiseGit same as Git?

TortoiseGit is a Windows Shell Interface to Git and based on TortoiseSVN. It's open source and can fully be build with freely available software. Since it's not an integration for a specific IDE like Visual Studio, Eclipse or others, you can use it with whatever development tools you like, and with any type of file.


1 Answers

It is possible that some files changed their name only in case.

Normal git status operations don't show this (, but git itself is case sensitive even if core.ignorecase=true on Windows).

This behavior of TortoiseGit changed in 2.5.0, see https://tortoisegit.org/docs/releasenotes/#Release_2.5.0.0:

Since TortoiseGit 2.5.0 the icon overlays are case sensitive. if you really want to change this default, you can disable the advanced setting "OverlaysCaseSensitive". This is, however, not the default and not recommended as some git tools such as "git log" are case sensitive on paths and might show an incomplete history.

like image 105
MrTux Avatar answered Oct 10 '22 09:10

MrTux