From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [BUG] Git looks for repository in wrong directory Date: Thu, 03 Jul 2008 12:28:12 -0700 Message-ID: <7v4p7622er.fsf@gitster.siamese.dyndns.org> References: <200807030216.28921.bombe@pterodactylus.net> <7vtzf76c60.fsf@gitster.siamese.dyndns.org> <200807030305.17767.bombe@pterodactylus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: git@vger.kernel.org To: David =?utf-8?B?4oCYQm9tYmXigJk=?= Roden X-From: git-owner@vger.kernel.org Thu Jul 03 21:29:57 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 1KEUUZ-00056O-9W for gcvg-git-2@gmane.org; Thu, 03 Jul 2008 21:29:19 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753881AbYGCT2W convert rfc822-to-quoted-printable (ORCPT ); Thu, 3 Jul 2008 15:28:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753780AbYGCT2W (ORCPT ); Thu, 3 Jul 2008 15:28:22 -0400 Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:48789 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753402AbYGCT2V convert rfc822-to-8bit (ORCPT ); Thu, 3 Jul 2008 15:28:21 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 4920E112BE; Thu, 3 Jul 2008 15:28:20 -0400 (EDT) Received: from pobox.com (ip68-225-240-77.oc.oc.cox.net [68.225.240.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 936BE112BD; Thu, 3 Jul 2008 15:28:17 -0400 (EDT) In-Reply-To: <200807030305.17767.bombe@pterodactylus.net> (David =?utf-8?B?4oCYLiBCb21iZeKAmQ==?= Roden's message of "Thu, 3 Jul 2008 03:05:15 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Pobox-Relay-ID: 31C23780-4936-11DD-A7C4-CE28B26B55AE-77302942!a-sasl-fastnet.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: David =E2=80=98Bombe=E2=80=99 Roden writes: >> If you have both, you already have found the way to disambiguate ;-) > > Yes, _now_ I know. In my opinion it=E2=80=99s very unintuitive and sh= ould be changed.=20 I'm of mixed mind about this. I am guessing that the original motivation was that people can have unversioned "project/" that perhaps is an extract from the tarball and "project.git/" that is version-controlled by git, and when they want to talk about the repository they can say either "project.git" and "projec= t" to get to the git-managed one, even if "project/" directory exists. It may be an improvement if we checked to see if the original name does refer to a git repository and use that without falling back. Even thou= gh I do not personally care so deeply about this, I won't be opposed to su= ch an improvement.