git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git status bug problem.

From
BBBen Bennett <benbennett@gmail.com>
Date
Jun 24, 2008, 02:09 UTC
Message-ID
<970bc7c80806231909q1286ddb2h1c97ef3825c7fd5f@mail.gmail.com>
In-Reply-To
<237967ef0806231849k2aa0c1ebt9f4dee45e2b40896@mail.gmail.com>

Nope, it was an blank test repo . Did git init git add * (which added a few text files) did git commit -m "just a test" Modified the file , did git status and I get nothing . git-gui displays nothing . I think I hosed up something , either some dynamic lib or something. doing git status * gives me the files.

On Mon, Jun 23, 2008 at 8:49 PM, Mikael Magnusson <mikachu@gmail.com> wrote:
Show 26 quoted lines
> 2008/6/24 Ben Bennett <benbennett@gmail.com>:
>> I made the initial commit.  git-gui doesn't return anything either.
>> Something tells me it isn't getting the cwd. Add git status *  it will
>> work correctly , but git-gui doesn't give anything.
>>
>> somewhere@something:~/git_test$ git status
>> # On branch master
>> nothing to commit (working directory clean)
>>
>> somewhere@something:~/git_test$ git status *
>> # On branch master
>> # Changes to be committed:
>> #   (use "git reset HEAD <file>..." to unstage)
>> #
>> #       modified:   test/test2.txt
>> #
>> Thanks,
>> Ben
>
> The file isn't by chance matched by a git ignore rule somewhere? An easy
> way to check is to try and git add the file, it will say you have to use
> -f if it does.
>
> --
> Mikael Magnusson
>
Previous: Mikael Magnusson
Message 5 of 5 in “Fwd: git status bug problem.”
  1. Ben BennettJun 23, 2008
  2. Jakub NarebskiJun 23, 2008
  3. Ben BennettJun 24, 2008
  4. Mikael MagnussonJun 24, 2008
  5. Ben BennettJun 24, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.