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

Re: [PATCH] Clarified documentation of --exclude-per-directory.

From
Junio C Hamano <junkio@cox.net>
Date
Sep 26, 2006, 05:11 UTC
Message-ID
<7v3baftdp0.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060925155821.GC26844@spearce.org>
Shawn Pearce <spearce@spearce.org> writes:
Show 9 quoted lines
> Tommi Virtanen noted on #git today that
>
>   git ls-files --exclude-per-directory
>
> doesn't appear to work as advertised by the documentation unless
> --others is also used.  According to the current source code this
> is the case as the --exclude-per-directory file isn't read unless
> we are iterating over the working directory, which only happens
> with --others.
I am puzzled by this problem description.

If we _were_ to read --exclude-per-directory file when we are not doing --others, what better behaviour would we get out of the command?

Previous: Shawn PearceNext: Shawn Pearce
Message 2 of 3 in “Clarified documentation of --exclude-per-directory.”
  1. Clarified documentation of --exclude-per-directory.Shawn Pearce, Sep 25, 2006
  2. Junio C HamanoSep 26, 2006
  3. Shawn PearceSep 26, 2006

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.