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

Re: [PATCH 1/2] Add "--only-untracked" flag to status commands.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 25, 2007, 14:39 UTC
Message-ID
<Pine.LNX.4.64.0708251639100.16728@wbgn129.biozentrum.uni-wuerzburg.de>
In-Reply-To
<0748D6C4-C72F-4271-9372-3EBFC249FFE2@pp.inet.fi>
Hi,
On Fri, 24 Aug 2007, V?in? J?rvel wrote:
Show 14 quoted lines
> On Aug 24, 2007, at 12:55, Johannes Schindelin wrote:
> > On Fri, 24 Aug 2007, V?in? J?rvel wrote:
> > > I also think that maintaining a proper .gitignore is imporant, and 
> > > more productive than using --only-tracked instead. But when I have 
> > > cruft that can't be put in .gitignore, or it would ignore files that 
> > > are supposed to be shown and tracked, I use --only-tracked.
> > 
> > Would it not be better to imitate the "-x" and "-X" options of 
> > ls-files, then?  You could achieve the effect you desire by "git 
> > status -x \*" then.
> 
> I haven't used that option, do I understand correctly, that with that 
> option, you should provide another exclusion file? That would remove the 
> dynamic ability of --only-tracked.
-X takes a filename, -x a pattern.

Hth, Dscho

Previous: Väinö JärveläNext: Matthieu Moy
Message 9 of 17 in “Re: [PATCH 1/2] Add "--only-untracked" flag to status commands.”
  1. Alex RiesenAug 23, 2007
  2. Väinö JärveläAug 24, 2007
  3. Jakub NarebskiAug 24, 2007
  4. Andreas EricssonAug 27, 2007
  5. Junio C HamanoAug 24, 2007
  6. Väinö JärveläAug 24, 2007
  7. Johannes SchindelinAug 24, 2007
  8. Väinö JärveläAug 24, 2007
  9. Johannes SchindelinAug 25, 2007
  10. Matthieu MoyAug 24, 2007
  11. Jakub NarebskiAug 24, 2007
  12. Junio C HamanoAug 24, 2007
  13. Väinö JärveläAug 25, 2007
  14. Johannes SchindelinAug 25, 2007
  15. Alex RiesenAug 24, 2007
  16. Väinö JärveläAug 25, 2007
  17. Junio C HamanoAug 25, 2007

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.