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

Re: wishlist: git gui not listing untracked files in unstaged list

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 10, 2010, 19:59 UTC
Message-ID
<7vaaugrlqs.fsf@alter.siamese.dyndns.org>
In-Reply-To
<loom.20100310T203316-38@post.gmane.org>
MALAISE Pascal <malaise@magic.fr> writes:
Show 7 quoted lines
> Many projects are organized so that the result of compilation is mixed with
> sources.
> It would be very useful to configure git gui so that untracked files are not
> listed in the un-staged list.
> I have patched git gui, function rescan_stage2, line 1414 to do so:
>   # set fd_lo [eval git_read ls-files --others -z $ls_others]
>   set fd_lo [eval git_read ls-files -z $ls_others]
Shouldn't this line instead be running this:
    ls-files --others --exclude-standard -z $ls_others
so that it would use the usual .gitignore mechanism?
Previous: MALAISE PascalNext: Shawn O. Pearce
Message 2 of 13 in “wishlist: git gui not listing untracked files in unstaged list”
  1. MALAISE PascalMar 10, 2010
  2. Junio C HamanoMar 10, 2010
  3. Shawn O. PearceMar 10, 2010
  4. MALAISE PascalMar 10, 2010
  5. Patrick HigginsMar 10, 2010
  6. Jeff KingMar 10, 2010
  7. Shawn O. PearceMar 10, 2010
  8. Junio C HamanoMar 10, 2010
  9. Jeff KingMar 10, 2010
  10. Jeff KingMar 10, 2010
  11. Johannes SixtMar 11, 2010
  12. Jeff KingMar 11, 2010
  13. Andreas SchwabMar 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.