From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: Tool renames. Date: Thu, 15 Sep 2005 22:44:46 -0700 Message-ID: <432A5BCE.3030200@zytor.com> References: <200509050054.j850sC3D023778@laptop11.inf.utfsm.cl> <46a038f90509051713389c62c8@mail.gmail.com> <7vll2atz8a.fsf@assigned-by-dhcp.cox.net> <7vwtlusi9t.fsf@assigned-by-dhcp.cox.net> <7v1x41g3c6.fsf@assigned-by-dhcp.cox.net> <7vfysg2wvo.fsf_-_@assigned-by-dhcp.cox.net> <43290D0F.9060408@zytor.com> <7vr7bqahb8.fsf@assigned-by-dhcp.cox.net> <7vr7bq4ssc.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: git@vger.kernel.org, davidk@lysator.liu.se, Linus Torvalds , Daniel Barkalow X-From: git-owner@vger.kernel.org Fri Sep 16 07:46:27 2005 Return-path: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EG92B-0003q2-89 for gcvg-git@gmane.org; Fri, 16 Sep 2005 07:45:15 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030371AbVIPFpL (ORCPT ); Fri, 16 Sep 2005 01:45:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030600AbVIPFpL (ORCPT ); Fri, 16 Sep 2005 01:45:11 -0400 Received: from paleosilicon.orionmulti.com ([209.128.68.66]:24705 "EHLO paleosilicon.orionmulti.com") by vger.kernel.org with ESMTP id S1030371AbVIPFpJ (ORCPT ); Fri, 16 Sep 2005 01:45:09 -0400 X-Envelope-From: hpa@zytor.com Received: from [172.27.0.18] (c-67-180-239-42.hsd1.ca.comcast.net [67.180.239.42]) (authenticated bits=0) by paleosilicon.orionmulti.com (8.12.10/8.12.10) with ESMTP id j8G5ilJv005525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Sep 2005 22:44:49 -0700 User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) X-Accept-Language: en-us, en To: Junio C Hamano In-Reply-To: <7vr7bq4ssc.fsf@assigned-by-dhcp.cox.net> X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on paleosilicon.orionmulti.com X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on paleosilicon.orionmulti.com X-Virus-Status: Clean Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Junio C Hamano wrote: > > Come to think of it, I should be able to build git-ssh-push and > git-ssh-pull as fully backward compatible way to call the > counterpart with original name, instead of supplying just > symlinks the same way I do currently. Let me work do that > before I do 0.99.7 this weekend. > Better yet, always install the links, and have them use the *old* names when calling the remote end. >>Now the interesting problem is if we should rename these >>environment variables ... > > And the old and new binaries will be built separately anyway, I > could use GIT_SSH_FETCH and GIT_SSH_UPLOAD in the newname > binaries while keeping the old names in oldname binaries. Ack? Urk. Why do this rename anyway? Typically when doing new environment variables like this you do: foo = getenv("NEW_NAME"); if ( !foo ) foo = getenv("OLD_NAME"); -hpa