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

Re: [PATCH] completion: add missing configuration variables

From
Jeff King <peff@peff.net>
Date
Dec 16, 2010, 04:23 UTC
Message-ID
<20101216042304.GA886@sigill.intra.peff.net>
In-Reply-To
<alpine.DEB.1.10.1012151931030.25560@debian>
On Wed, Dec 15, 2010 at 08:44:45PM +0100, Martin von Zweigbergk wrote:
Show 21 quoted lines
> > One note:
> > 
> > >  		color.diff
> > >  		color.diff.commit
> > >  		color.diff.frag
> > > +		color.diff.func
> > >  		color.diff.meta
> > >  		color.diff.new
> > >  		color.diff.old
> > >  		color.diff.plain
> > >  		color.diff.whitespace
> > 
> > We have color.diff.branch coming soon (I think it is in 'next' now).
> 
> Strictly speaking, that note is for Junio to think of when he merges,
> right? But adding it early is pretty harmless and if that relieves him
> of some work, I would be happy to add it in the next submission of
> this patch. Is that better?
> 
> Thinking a bit more, maybe what you are suggesting is that I base the
> next revision of this patch on the branch that adds that variable?

The "correct" thing to do from a topic branch standpoint is to submit this patch without it as its own topic, submit a patch with just color.diff.branch on top of the other topic, and then the merge resolution will include both sets.

In this case, it might be OK to just start shipping color.diff.branch in the completion list. It doesn't hurt anything to have the extra completion before the feature is in, and the feature seems very likely to make it in soon.

But I'll let Junio decide how meticulous about history he wants to be. :)

-Peff
Previous: Martin von ZweigbergkNext: Junio C Hamano
Message 4 of 14 in “completion: add missing configuration variables”
  1. completion: add missing configuration variablesMartin von Zweigbergk, Dec 15, 2010
  2. Jeff KingDec 15, 2010
  3. Martin von ZweigbergkDec 15, 2010
  4. Jeff KingDec 16, 2010
  5. Junio C HamanoDec 17, 2010
  6. Jeff KingDec 17, 2010
  7. SZEDER GáborDec 16, 2010
  8. Martin von ZweigbergkDec 16, 2010
  9. Jeff KingDec 16, 2010
  10. Junio C HamanoDec 17, 2010
  11. Jeff KingDec 17, 2010
  12. completion: add missing configuration variablesMartin von Zweigbergk, Dec 20, 2010
  13. Jeff KingDec 20, 2010
  14. Junio C HamanoDec 21, 2010

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.