From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff King Subject: Re: [PATCH v2] Do not show "diff --git" metainfo with --no-prefix Date: Thu, 17 Jan 2008 10:18:36 -0500 Message-ID: <20080117151836.GA6123@coredump.intra.peff.net> References: <7v1w8hploy.fsf@gitster.siamese.dyndns.org> <7vprw1mfpr.fsf@gitster.siamese.dyndns.org> <7vabn5mdz7.fsf@gitster.siamese.dyndns.org> <20080117144914.GA2816@coredump.intra.peff.net> <20080117150306.GB2816@coredump.intra.peff.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Junio C Hamano , Daniel Barkalow , Linus Torvalds , Chris Ortman , git@vger.kernel.org To: Johannes Schindelin X-From: git-owner@vger.kernel.org Thu Jan 17 16:19:21 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 1JFWWN-000054-JX for gcvg-git-2@gmane.org; Thu, 17 Jan 2008 16:19:12 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752022AbYAQPSj (ORCPT ); Thu, 17 Jan 2008 10:18:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751823AbYAQPSj (ORCPT ); Thu, 17 Jan 2008 10:18:39 -0500 Received: from 66-23-211-5.clients.speedfactory.net ([66.23.211.5]:3036 "EHLO peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751927AbYAQPSi (ORCPT ); Thu, 17 Jan 2008 10:18:38 -0500 Received: (qmail 4011 invoked by uid 111); 17 Jan 2008 15:18:37 -0000 Received: from coredump.intra.peff.net (HELO coredump.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.32) with SMTP; Thu, 17 Jan 2008 10:18:37 -0500 Received: by coredump.intra.peff.net (sSMTP sendmail emulation); Thu, 17 Jan 2008 10:18:36 -0500 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Thu, Jan 17, 2008 at 03:12:34PM +0000, Johannes Schindelin wrote: > > @@ -586,7 +587,6 @@ static void fn_out_consume(void *priv, char *line, unsigned long len) > > } > > > > if (len < ecbdata->nparents) { > > - set = reset; > > emit_line(reset, reset, line, len); > > return; > > } > > I wonder what I wanted to achieve with that ;-) Heh. I'm guessing it was supposed to be set = reset; emit_line(set, reset, line, len); and you optimized the first line out. :) -Peff