From: Junio C Hamano Date: Fri, 31 Aug 2007 00:26:22 GMT Subject: Re: [PATCH] Git.pm: Add remote_refs() git-ls-remote frontend Message-ID: <7vr6lk5z2p.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20070830233749.4480.72281.stgit@rover> Petr Baudis writes: > Should support all the important features, I guess. Too bad that > > git-ls-remote --heads . > > is subtly different from > > git-ls-remote . refs/heads/ > > so we have to provide the interface for specifying both. Are they subtly different? To me they look like asking for completely different things. IIRC, the patterns are ref globs, so git ls-remote $URL 'refs/heads/*' would be the same as the former one. > This patch also converts git-remote.perl to use it. > > Signed-off-by: Petr Baudis > --- > This version re-adds missed out stripping of refs/heads/ in git-remote.perl. Ah, that was the bug you were talking about on #git channel, I guess...