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

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

From
Petr Baudis <pasky@ucw.cz>
Date
May 8, 2005, 23:42 UTC
Message-ID
<20050508234227.GQ9495@pasky.ji.cz>
In-Reply-To
<7vfywx2t77.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Mon, May 09, 2005 at 01:28:44AM CEST, I got a letter where Junio C Hamano <junkio@cox.net> told me that...

Show 11 quoted lines
> >>>>> "PB" == Petr Baudis <pasky@ucw.cz> writes:
> 
> PB> ... since I *don't* think you want to share this. The very
> PB> fact it is in the .git/ directory implies here that these
> PB> are your local exclude patterns which are likely
> PB> temporary...
> 
> Is it really the case?  I recall that Linux kernel started
> shipping with the standard dontdiff file for everybody's use
> some time ago, after enough people wanted it included in the
> upstream release.  Maybe you would want to read from both?

Of course. You should combine them both, the .git/ one having the ultimate precedence (if we support the CVS-like ! stuff too).

That is, in CVS the version-controlled files are per-directory, which can be very nice too; things are getting harder now, though, since we should have some per-project ignore file too.

Show 8 quoted lines
> PB> The fact that we have no support for version-tracked exclude file can't
> PB> stop me! ;-)
> 
> What darcs folks do is that they have a per-tree configuration
> (kept in ./_darcs, which is similar to our ./.git) that says
> which file is the exclude list, and by setting configuration
> item to point at a file which _is_ version controlled they can
> share the exclude file.

That is certainly a good idea (at least for kernel, where you probably just want to give it dontdiff), but we need a sensible default.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Previous: Junio C Hamano
Message 9 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.