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

Re: [PATCH] Add exclude file support to cg-status

From
MPMatt Porter <mporter@kernel.crashing.org>
Date
May 3, 2005, 02:33 UTC
Message-ID
<20050502193343.A25462@cox.net>
In-Reply-To
<7vd5s9nmio.fsf@assigned-by-dhcp.cox.net>
On Mon, May 02, 2005 at 06:09:19PM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> >>>>> "MP" == Matt Porter <mporter@kernel.crashing.org> writes:
> 
> MP> Adds a trivial per-repository exclude file implementation for
> MP> cg-status on top of the new git-ls-files option.
> 
>  
> MP> +EXCLUDEFILE=.git/exclude
> 
> Good intentions, but shouldn't the file be .git/info/exclude
> (i.e. under .git/info)?

My reasoning for not doing something like this was that there is only ever one exclude file. In other instances of cogito specific data in the .git directory, there is a subdir named for the class of data being stored there (i.e. branches, refs). In this case, it didn't seem necessary. On the other hand, this made me wonder whether there should just be a .git/cginfo subdir where exclude, branches, refs, etc. all live under since they are cogito specfic functionality. Something like:

.git/cginfo/
	    exclude
	    branches/
	    refs/
and so on...
-Matt
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 9 in “Add exclude file support to cg-status”
  1. Add exclude file support to cg-statusMatt Porter, May 3, 2005
  2. Junio C HamanoMay 3, 2005
  3. Matt PorterMay 3, 2005
  4. Junio C HamanoMay 3, 2005
  5. Matt PorterMay 3, 2005
  6. Matt PorterMay 3, 2005
  7. Petr BaudisMay 8, 2005
  8. Junio C HamanoMay 8, 2005
  9. Petr BaudisMay 8, 2005

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.