From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Riesen Subject: Re: [PATCH] Wait for git diff to finish in git difftool Date: Thu, 23 Apr 2009 21:08:35 +0200 Message-ID: <20090423190835.GB8433@blimp.localdomain> References: <20090422082652.GA32698@gmail.com> <81b0412b0904220404o30ce1413kcc4dcea1fa822841@mail.gmail.com> <7vr5zk346d.fsf@gitster.siamese.dyndns.org> <81b0412b0904221340o6b2f1474oed2ad12e4f68cff3@mail.gmail.com> <7v4owgyp8x.fsf@gitster.siamese.dyndns.org> <81b0412b0904230033n35f1117fmea4432a2f2140d25@mail.gmail.com> <7vtz4fwzaz.fsf@gitster.siamese.dyndns.org> <81b0412b0904230252k3e8197d3y8798d5b797a49c39@mail.gmail.com> <7vhc0fv2xb.fsf@gitster.siamese.dyndns.org> <20090423185732.GA8433@blimp.localdomain> Reply-To: Alex Riesen Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Aguilar , git@vger.kernel.org, charles@hashpling.org, markus.heidelberg@web.de To: Junio C Hamano X-From: git-owner@vger.kernel.org Thu Apr 23 21:10:24 2009 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 1Lx4JT-0005ol-CA for gcvg-git-2@gmane.org; Thu, 23 Apr 2009 21:10:23 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754185AbZDWTIs (ORCPT ); Thu, 23 Apr 2009 15:08:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754270AbZDWTIs (ORCPT ); Thu, 23 Apr 2009 15:08:48 -0400 Received: from mout1.freenet.de ([195.4.92.91]:49168 "EHLO mout1.freenet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753192AbZDWTIr (ORCPT ); Thu, 23 Apr 2009 15:08:47 -0400 Received: from [195.4.92.20] (helo=10.mx.freenet.de) by mout1.freenet.de with esmtpa (ID alexander.riesen@freenet.de) (port 25) (Exim 4.69 #88) id 1Lx4Hq-0005WT-6k; Thu, 23 Apr 2009 21:08:42 +0200 Received: from x6383.x.pppool.de ([89.59.99.131]:51994 helo=tigra.home) by 10.mx.freenet.de with esmtpsa (ID alexander.riesen@freenet.de) (TLSv1:AES256-SHA:256) (port 587) (Exim 4.69 #79) id 1Lx4Hp-0001xo-Ue; Thu, 23 Apr 2009 21:08:42 +0200 Received: from blimp.localdomain (ubuntu.home [192.168.1.28]) by tigra.home (Postfix) with ESMTP id D3638277D8; Thu, 23 Apr 2009 21:08:35 +0200 (CEST) Received: by blimp.localdomain (Postfix, from userid 1000) id 99D3036D28; Thu, 23 Apr 2009 21:08:35 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20090423185732.GA8433@blimp.localdomain> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Alex Riesen, Thu, Apr 23, 2009 20:57:32 +0200: > Junio C Hamano, Thu, Apr 23, 2009 16:51:28 +0200: > > For example, I do not think conversion from Perl exec() to Perl system() > > is worsening the code in any way in difftool. Sure, it won't *improve* > > things for general majority of people, but as long as it does not hurt > > people (that includes me and others who pay maintenance cost), I do not > > think we should just bury the patch in archive or in your laptop. > > Isn't it clearly marked in the archives with the keywords most often > associated with the platform? (they may seem a little... unprintable) > > Still, you are, as usual, right. Especially regarding this particular case. > > I'll add this comment regarding use of system in the case where exec > is right choice on all accounts and resend the patch: > > # ActiveState Perl for Win32 does not implement POSIX semantics of > # exec* system call. It just spawns the given executable and finishes > # the starting program, exiting with code 0. > # system will at least catch the errors in returned by git diff, > # allowing the caller of git difftool better handling of failures. Oh... I'm too late...