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

Re: [PATCH] ls-files: honour per-directory ignore file from higher directories.

From
PRPavel Roskin <proski@gnu.org>
Date
Feb 10, 2006, 03:38 UTC
Message-ID
<1139542730.23725.3.camel@dv>
In-Reply-To
<7vmzh1eykq.fsf_-_@assigned-by-dhcp.cox.net>
Hello, Junio!
On Thu, 2006-02-09 at 00:16 -0800, Junio C Hamano wrote:
> When git-ls-files -o --exclude-per-directory=.gitignore is run
> from a subdirectory, it did not read from .gitignore from its
> parent directory.  Reading from them makes output from these two
> commands consistent:
You beat me at that.  Thank you!

With this patch, the simplified version of cg-clean passes the cogito testsuite. That's where the original bug was caught.

>  * If there are positive feedbacks on this one, I consider it
>    a safe enough candidate to be included in 1.2.0 release.
Yes, it would be nice to see it released.
-- 
Regards,
Pavel Roskin
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 6 in “git-ls-files in subdirectories ignore higher-up .gitignore”
  1. Pavel RoskinJan 24, 2006
  2. Junio C HamanoJan 25, 2006
  3. Sam RavnborgJan 25, 2006
  4. ls-files: honour per-directory ignore file from higher directories.Junio C Hamano, Feb 9, 2006
  5. Pavel RoskinFeb 10, 2006
  6. Junio C HamanoFeb 10, 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.