{"thread":{"id":"32763","subject":"Why Same Files show up with different Statuses in Git?","startedAt":"2013-01-29T07:38:31Z","lastAt":"2013-01-29T07:38:31Z","messageCount":1,"participants":["Matthew Johnson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"208158","messageId":"CANL2M4sapzGtB1L4=OY5aa-gcnUtM-u96EhP_vGxRRxpwWJ2_A@mail.gmail.com","threadId":"32763","inReplyTo":null,"subject":"Why Same Files show up with different Statuses in Git?","fromName":"Matthew Johnson","fromEmail":"mejohnsn@gmail.com","sentAt":"2013-01-29T07:38:31Z","receivedAt":"2013-01-29T07:38:31Z","isPatch":false,"sender":{"key":"mejohnsn@gmail.com","avatar":null},"body":"First, some background. I have one hard disk separated into two\npartitions: one for the version of Windows 7 that shipped on this\nrather new Thinkpad (Windows 7 Professional SP1), the other for Fedora\n17 (which I installed and keep up-to-date). Of course, it is rather\neasy to access the Windows partition from the F17 partition, which I\nhave been doing with no noticeable problems: the File Explorer\nequivalent, Dolphin (the KDE equivalent) will automount the Windows\npartition as a filesystem under /media, I only have to enter the\npassword for 'su'.\n\nI don't think it makes a difference, but for completeness I provide\nthe options with which I find it mounted:\n\n/dev/sda2 on /media/Windows7_OS type fuseblk\n(rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096).\n\nAnyway, the problem is this: the very same files, e.g.\n/media/Windows7_OS/cygwin/home/Matthew\nJohnson/MrEd/mr.ed/lesson1/images/home-icon.jpg show up as 'modified'\nwhen I type \"git status\" (in the mr.ed/ dir) using the F17 git client,\nbut do not show up at all when I type \"git status\" under the Cygwin\nclient. This problem is not on all files, only a few, predominantly in\ntwo directories.\n\nUnder Windows (cygwin) \"git status\" shows nothing to commit, only\nuntracked files, which is what I expect; only under F17 do I get\nseveral modified files -- and these have old dates (e.g. Nov 27).\n\nYes, that is another important note: I am running Cygwin on the\nWindows partition.\n\nThe versions of things under the F17 partition are:\n\n  Linux 3.7.3-101.fc17.x86_64 x86_64\n  System:  Fedora release 17 (Beefy Miracle)\n  KDE:  4.9.5\n\ngit --version\ngit version 1.7.11.7\n\nUnder Cygwin, the git version is 1.7.9.\n\nFinally, I did check the git configuration to make sure the same\nuser.name and user.email are set in both. And in both cases, I made\nmr.ed the current directory before executing \"git status\". Shouldn't\nthat be enough? Is there anything else that must match in the git\nconfig?\n"}]}