From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754499AbYIOS0H (ORCPT ); Mon, 15 Sep 2008 14:26:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752718AbYIOSZw (ORCPT ); Mon, 15 Sep 2008 14:25:52 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:60507 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752569AbYIOSZv (ORCPT ); Mon, 15 Sep 2008 14:25:51 -0400 Date: Mon, 15 Sep 2008 11:25:45 -0700 (PDT) Message-Id: <20080915.112545.193713350.davem@davemloft.net> To: bulb@ucw.cz Cc: gitster@pobox.com, peterz@infradead.org, git@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [ANNOUNCE] GIT 1.6.0-rc2 From: David Miller In-Reply-To: <20080915171240.GB4787@efreet.light.src> References: <20080807.052648.239243998.davem@davemloft.net> <20080913.013330.29519747.davem@davemloft.net> <20080915171240.GB4787@efreet.light.src> X-Mailer: Mew version 6.1 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Hudec Date: Mon, 15 Sep 2008 19:12:40 +0200 > On Sat, Sep 13, 2008 at 01:33:30 -0700, David Miller wrote: > > Wouldn't it make sense to put the bindir into PATH when we try to do > > execv_git_cmd()? The code has already put the gitexecdir into the > > PATH at this point. > > I don't think it gets to execv_git_cmd(). Git on local side will run > ssh git upload-pack > and it's ssh that can't find git in ~/bin (or maybe it's still using the > dashed form for backward compatibility; the argument stands either way). That's not the case I'm running into. The initial GIT execution works, it's when GIT forks up sub processes and tries to execute other things that problem show up. I added tracing and on the ssh remote system, and my PATH had the GIT exec dir in my path when the problem triggers.