Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [BUG] Git looks for repository in wrong directory

From: David ‘Bombe’ Roden <hidden>
Date: 2016-06-15 22:44:53

On Thursday 03 July 2008 02:31:35 Junio C Hamano wrote:
This is age old usability feature that lets you say "ls-remote r1" even
when you do *not* have "r1.git"
Is it just me or does that sentence not make any sense at all? ;)

I mean, _of cource_ I want the contents of "r1" if I say "give me the contents 
of r1". I could understand if Git looked in "r1.git" if there was no "r1" but 
the way it is currently done is plain wrong. IMHO, of course.

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. 
And if—for some strange reason—this is to be kept as a compatibility feature 
it should at least be documented somewhere in large red blinking letters that 
under certain circumstances Git doesn’t care about the path you give it but 
simply chooses to look somewhere else. :)


	David

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help