{"thread":{"id":"14099","subject":"Fwd: git status bug problem.","startedAt":"2008-06-23T13:22:24Z","lastAt":"2008-06-24T02:09:44Z","messageCount":5,"participants":["Ben Bennett","Jakub Narebski","Mikael Magnusson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"80701","messageId":"970bc7c80806230622x326c5cd3mbce57949255a067b@mail.gmail.com","threadId":"14099","inReplyTo":"970bc7c80806230619i6c060c4eld329729ec7eef1da@mail.gmail.com","subject":"Fwd: git status bug problem.","fromName":"Ben Bennett","fromEmail":"benbennett@gmail.com","sentAt":"2008-06-23T13:22:24Z","receivedAt":"2008-06-23T13:22:24Z","isPatch":false,"sender":{"key":"benbennett@gmail.com","avatar":null},"body":"I can't seem to get git status to return that a file has changed. I\nthink my environment is hosed up, but I don't know for sure. My\nmachine is ubuntu 8.04  with kernel  2.6.24-17-generic #1 SMPx86_64\nGNU/Linux . I set up a test repo and it added one file to it ,\nmodified the file and saved . Doing git status returns nothing, git\ngui finds no modified files. Doing git add * finds the modified file\nand stages it. I can get someone a strace for the git status it is\nonly about a 1 page.\n\nThanks,\nBen\n"},{"id":"80703","messageId":"m3r6aol0u8.fsf@localhost.localdomain","threadId":"14099","inReplyTo":"970bc7c80806230622x326c5cd3mbce57949255a067b@mail.gmail.com","subject":"Re: Fwd: git status bug problem.","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2008-06-23T13:47:48Z","receivedAt":"2008-06-23T13:47:48Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"\"Ben Bennett\" <benbennett@gmail.com> writes:\n\n> I can't seem to get git status to return that a file has changed. I\n> think my environment is hosed up, but I don't know for sure. My\n> machine is ubuntu 8.04  with kernel  2.6.24-17-generic #1 SMPx86_64\n> GNU/Linux . I set up a test repo and it added one file to it ,\n> modified the file and saved . Doing git status returns nothing, git\n> gui finds no modified files. Doing git add * finds the modified file\n> and stages it. I can get someone a strace for the git status it is\n> only about a 1 page.\n\nYou should have got something like the following:\n\n# On branch master\n# Changes to be committed:\n#   (use \"git reset HEAD <file>...\" to unstage)\n#\n#       new file:   bar\n#\n# Changed but not updated:\n#   (use \"git add <file>...\" to update what will be committed)\n#\n#       modified:   bar\n#\n\nBTW. you have made initial commit, did you?\n\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"80802","messageId":"970bc7c80806231837j19458b80x81063745a2ef40c4@mail.gmail.com","threadId":"14099","inReplyTo":"m3r6aol0u8.fsf@localhost.localdomain","subject":"Re: git status bug problem.","fromName":"Ben Bennett","fromEmail":"benbennett@gmail.com","sentAt":"2008-06-24T01:37:15Z","receivedAt":"2008-06-24T01:37:15Z","isPatch":false,"sender":{"key":"benbennett@gmail.com","avatar":null},"body":"I made the initial commit.  git-gui doesn't return anything either.\nSomething tells me it isn't getting the cwd. Add git status *  it will\nwork correctly , but git-gui doesn't give anything.\n\nsomewhere@something:~/git_test$ git status\n# On branch master\nnothing to commit (working directory clean)\n\nsomewhere@something:~/git_test$ git status *\n# On branch master\n# Changes to be committed:\n#   (use \"git reset HEAD <file>...\" to unstage)\n#\n#\tmodified:   test/test2.txt\n#\nThanks,\nBen\nOn Mon, Jun 23, 2008 at 8:47 AM, Jakub Narebski <jnareb@gmail.com> wrote:\n> \"Ben Bennett\" <benbennett@gmail.com> writes:\n>\n>> I can't seem to get git status to return that a file has changed. I\n>> think my environment is hosed up, but I don't know for sure. My\n>> machine is ubuntu 8.04  with kernel  2.6.24-17-generic #1 SMPx86_64\n>> GNU/Linux . I set up a test repo and it added one file to it ,\n>> modified the file and saved . Doing git status returns nothing, git\n>> gui finds no modified files. Doing git add * finds the modified file\n>> and stages it. I can get someone a strace for the git status it is\n>> only about a 1 page.\n>\n> You should have got something like the following:\n>\n> # On branch master\n> # Changes to be committed:\n> #   (use \"git reset HEAD <file>...\" to unstage)\n> #\n> #       new file:   bar\n> #\n> # Changed but not updated:\n> #   (use \"git add <file>...\" to update what will be committed)\n> #\n> #       modified:   bar\n> #\n>\n> BTW. you have made initial commit, did you?\n>\n> --\n> Jakub Narebski\n> Poland\n> ShadeHawk on #git\n>\n"},{"id":"80803","messageId":"237967ef0806231849k2aa0c1ebt9f4dee45e2b40896@mail.gmail.com","threadId":"14099","inReplyTo":"970bc7c80806231837j19458b80x81063745a2ef40c4@mail.gmail.com","subject":"Re: git status bug problem.","fromName":"Mikael Magnusson","fromEmail":"mikachu@gmail.com","sentAt":"2008-06-24T01:49:15Z","receivedAt":"2008-06-24T01:49:15Z","isPatch":false,"sender":{"key":"mikachu@gmail.com","avatar":null},"body":"2008/6/24 Ben Bennett <benbennett@gmail.com>:\n> I made the initial commit.  git-gui doesn't return anything either.\n> Something tells me it isn't getting the cwd. Add git status *  it will\n> work correctly , but git-gui doesn't give anything.\n>\n> somewhere@something:~/git_test$ git status\n> # On branch master\n> nothing to commit (working directory clean)\n>\n> somewhere@something:~/git_test$ git status *\n> # On branch master\n> # Changes to be committed:\n> #   (use \"git reset HEAD <file>...\" to unstage)\n> #\n> #       modified:   test/test2.txt\n> #\n> Thanks,\n> Ben\n\nThe file isn't by chance matched by a git ignore rule somewhere? An easy\nway to check is to try and git add the file, it will say you have to use\n-f if it does.\n\n-- \nMikael Magnusson\n"},{"id":"80806","messageId":"970bc7c80806231909q1286ddb2h1c97ef3825c7fd5f@mail.gmail.com","threadId":"14099","inReplyTo":"237967ef0806231849k2aa0c1ebt9f4dee45e2b40896@mail.gmail.com","subject":"Re: git status bug problem.","fromName":"Ben Bennett","fromEmail":"benbennett@gmail.com","sentAt":"2008-06-24T02:09:44Z","receivedAt":"2008-06-24T02:09:44Z","isPatch":false,"sender":{"key":"benbennett@gmail.com","avatar":null},"body":"Nope, it was an blank test repo .\nDid git init\ngit add *\n(which added a few text files)\ndid git commit -m \"just a test\"\nModified the file , did git status and I get nothing . git-gui\ndisplays nothing . I think I hosed up something , either some dynamic\nlib or something.\ndoing git status * gives me the files.\n\n\nOn Mon, Jun 23, 2008 at 8:49 PM, Mikael Magnusson <mikachu@gmail.com> wrote:\n> 2008/6/24 Ben Bennett <benbennett@gmail.com>:\n>> I made the initial commit.  git-gui doesn't return anything either.\n>> Something tells me it isn't getting the cwd. Add git status *  it will\n>> work correctly , but git-gui doesn't give anything.\n>>\n>> somewhere@something:~/git_test$ git status\n>> # On branch master\n>> nothing to commit (working directory clean)\n>>\n>> somewhere@something:~/git_test$ git status *\n>> # On branch master\n>> # Changes to be committed:\n>> #   (use \"git reset HEAD <file>...\" to unstage)\n>> #\n>> #       modified:   test/test2.txt\n>> #\n>> Thanks,\n>> Ben\n>\n> The file isn't by chance matched by a git ignore rule somewhere? An easy\n> way to check is to try and git add the file, it will say you have to use\n> -f if it does.\n>\n> --\n> Mikael Magnusson\n>\n"}]}