git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "David ‘Bombe’ Roden" <bombe@pterodactylus.net>
Cc: git@vger.kernel.org
Subject: Re: [BUG] Git looks for repository in wrong directory
Date: Thu, 03 Jul 2008 12:28:12 -0700	[thread overview]
Message-ID: <7v4p7622er.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <200807030305.17767.bombe@pterodactylus.net> (David ‘. Bombe’ Roden's message of "Thu, 3 Jul 2008 03:05:15 +0200")

David ‘Bombe’ Roden  <bombe@pterodactylus.net> writes:

>> If you have both, you already have found the way to disambiguate ;-)
>
> Yes, _now_ I know. In my opinion it’s very unintuitive and should be changed. 
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 "project"
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 though
I do not personally care so deeply about this, I won't be opposed to such
an improvement.

      reply	other threads:[~2008-07-03 19:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03  0:16 [BUG] Git looks for repository in wrong directory David ‘Bombe’ Roden
2008-07-03  0:31 ` Junio C Hamano
2008-07-03  1:05   ` David ‘Bombe’ Roden
2008-07-03 19:28     ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7v4p7622er.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=bombe@pterodactylus.net \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).