jrowberg / i2cdevlib

I2C device library collection for AVR/Arduino or other C++-based MCUs
http://www.i2cdevlib.com
3.95k stars 7.51k forks source link

Git Pull updates but leaves MPU9150 folder Red #635

Open paynterf opened 3 years ago

paynterf commented 3 years ago

I just did a Git->Pull of the i2cdevlib folder tree into my Windows 10 PC with Git 2.32.0.2 installed , but the i2cdevlib\Arduino\MPU9150 folder still shows the red exclamation point icon instead of the green checkmark. I redid the 'Pull' several times, and I looked through the folder on GitHub, but could find no reason for this. Am I missing something?

TIA,

Frank Screenshot 2021-11-13 134230

eadf commented 3 years ago

I have no experience with git on windows, but perhaps you are using something like this: https://tortoisegit.org/docs/tortoisegit/tgit-dug-wcstatus.html. It's indicating that the file is modified locally. What does git status say?

paynterf commented 3 years ago

Git status shown below, along with the results of a diff at the folder level. AFAICT, the local folder and the remote folder are identical. I did see some other discussions that indicated that the difference could be due to a capitalization difference in a file or folder name, where windows ignores case but Github doesn't. Could that have happened somewhere in the MP9150 folder tree? Screenshot 2021-11-22 174024 Screenshot 2021-11-22 173914

eadf commented 3 years ago

I found this comment: "We dropped case-insensitive matching with TortoiseGit 2.3.7, ..." https://gitlab.com/tortoisegit/tortoisegit/-/issues/2654 (and that was four years ago) So it could be as you say.

You could try and install a dedicated git GUI app, like SourceTree and see if it finds any issues. Sourcetree is free and really excellent imho.

paynterf commented 3 years ago

I'm pretty happy with Tortoise Git, so I think I'll just put up with the red '!' icon overlay on the MPU9150 folder ;-).

Frank

On Mon, Nov 22, 2021 at 6:51 PM eadf @.***> wrote:

I found this comment: "We dropped case-insensitive matching with TortoiseGit 2.3.7, ..." https://gitlab.com/tortoisegit/tortoisegit/-/issues/2654 (and that was four years ago) So it could be as you say.

You could try and install a dedicated git GUI app, like SourceTree https://www.sourcetreeapp.com and see if it finds any issues. Sourcetree is free and really excellent imho.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jrowberg/i2cdevlib/issues/635#issuecomment-976014346, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6T322GUE5JJCFQVIR2O3TUNLJQJANCNFSM5H65FSIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- G.Frank Paynter, PhD OSU ESL Research Scientist (ret) EM Workbench LLC 614 638-6749 (cell)