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

Re: git-gui disagrees with git status

From
Shawn O. Pearce <spearce@spearce.org>
Date
May 10, 2010, 21:39 UTC
Message-ID
<20100510213926.GA7156@spearce.org>
In-Reply-To
<y2m3b1db1e51005101432je9e75a53vbb3781fa33aa83e7@mail.gmail.com>
Bill Winspur <bwinspur@gmail.com> wrote:
Show 14 quoted lines
> #
> # Untracked files:
> #   (use "git add <file>..." to include in what will be committed)
> #
> #    .metadata/
> bwinspur@elm:~/ca.wydv.workspaces/008-leaning-group/git-lrng-wksp$
> =====
> 
> which is what I expected: my project folders are tracked, and
> .metadata/ is untracked.
> 
> - now I bring up git gui and it shows all the files under .metadata/ as
> unstaged changes, which conflicts with git status, and may be due to a
> git-gui bug
Its more a feature.

git-gui shows all untracked files, recursively expanding any directories which contain untracked files. git status collapses them up. If you don't want to track a directory, maybe you should configure it in one of the many gitignore locations so neither git status nor git gui shows it.

-- 
Shawn.
Previous: Bill WinspurNext: Miles Bader
Message 2 of 7 in “git-gui disagrees with git status”
  1. Bill WinspurMay 10, 2010
  2. Shawn O. PearceMay 10, 2010
  3. Miles BaderMay 11, 2010
  4. Johannes SixtMay 11, 2010
  5. Miles BaderMay 11, 2010
  6. Jonathan NiederMay 11, 2010
  7. Jonathan NiederMay 11, 2010

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.