Re: [PATCH] Git.pm: Add remote_refs() git-ls-remote frontend
On Thu, Aug 30, 2007 at 10:39:41AM CEST, Jakub Narebski wrote:
Show 15 quoted lines
> [Cc: Petr Baudis <pasky@suse.cz>, git@vger.kernel.org]
>
> Petr Baudis wrote:
>
> > 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.
>
> Why do not use git-for-each-ref or git-show-refs? If I remember correctly
> they _were_ faster than git-ls-remote or git-peek-remote...
But we want to typically list refs in a remote repository.
--
Petr "Pasky" Baudis
Early to rise and early to bed makes a male healthy and wealthy and dead.
-- James Thurber