From: Johannes Schindelin Subject: Re: [PATCH v2] Do not show "diff --git" metainfo with --no-prefix Date: Thu, 17 Jan 2008 02:45:05 +0000 (GMT) Message-ID: References: <7vhched3kw.fsf@gitster.siamese.dyndns.org> <7v4pded1rk.fsf_-_@gitster.siamese.dyndns.org> <7v7iiabjyh.fsf_-_@gitster.siamese.dyndns.org> <7v1w8hploy.fsf@gitster.siamese.dyndns.org> <7vprw1mfpr.fsf@gitster.siamese.dyndns.org> <7vabn5mdz7.fsf@gitster.siamese.dyndns.org> <7vve5tkwai.fsf@gitster.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Daniel Barkalow , Linus Torvalds , Chris Ortman , git@vger.kernel.org To: Junio C Hamano X-From: git-owner@vger.kernel.org Thu Jan 17 03:45:42 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1JFKlB-0005hP-LE for gcvg-git-2@gmane.org; Thu, 17 Jan 2008 03:45:42 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751269AbYAQCpN (ORCPT ); Wed, 16 Jan 2008 21:45:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751248AbYAQCpN (ORCPT ); Wed, 16 Jan 2008 21:45:13 -0500 Received: from mail.gmx.net ([213.165.64.20]:45552 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751188AbYAQCpL (ORCPT ); Wed, 16 Jan 2008 21:45:11 -0500 Received: (qmail invoked by alias); 17 Jan 2008 02:45:09 -0000 Received: from host86-138-198-40.range86-138.btcentralplus.com (EHLO racer.home) [86.138.198.40] by mail.gmx.net (mp030) with SMTP; 17 Jan 2008 03:45:09 +0100 X-Authenticated: #1490710 X-Provags-ID: V01U2FsdGVkX1+2t0wqWK6266F2K095HBNqYT4CBlDxO9sVfQ9d7E 2QO6qOkbAy+9uZ X-X-Sender: gene099@racer.site In-Reply-To: <7vve5tkwai.fsf@gitster.siamese.dyndns.org> User-Agent: Alpine 1.00 (LSU 882 2007-12-20) X-Y-GMX-Trusted: 0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Hi, On Wed, 16 Jan 2008, Junio C Hamano wrote: > Johannes Schindelin writes: > > >> While we are discussing about diff, there is one thing that has been > >> bugging me occasionally, but the annoyance factor has not motivated > >> me enough to look into it myself, because I do not use it often: > >> --color-words. It appears that it shows lines that do not have any > >> word differences in bold (whatever diff.color.meta is configured) and > >> I think it should use plain color instead. > >> > >> Was this intentional, or just a simple plain bug? > > > > Plain bug. I even meant to implement your suggestion of having a > > variable set of non-word characters, but never came around to work on > > it. Hopefully this weekend... > > I am not sure what that variable is about, but in the code you have > fn_out_diff_words_aux() that uses OLD/NEW/PLAIN and I do not see where > you try to color anything to METAINFO color. > > Perhaps you are talking about a different problem? I am a bit > confused... Yes, I was talking about another problem, which I want to look at while working on --color-diff. Ciao, Dscho