Subject: Re: Show remote branches on gitweb

From: Jakub Narebski <[email-masked]>
Date: Sat, 25 Nov 2006 01:12:55 +0100

Petr Baudis wrote:

> On Fri, Nov 24, 2006 at 09:56:29PM CET, Jakub Narebski wrote:
>> Jakub Narebski wrote:
>> 
>>> Pazu wrote:
>>> 
>>>> Is there any way to do it? I'm using git-svn to track a remote subversion
>>>> repository, and it would be very nice to browse the history for a remote branch
>>>> for which I didn't start a local branch yet.
>>> 
>>> Planned, not implemented yet.
>> 
>> The problem is that to implement it _well_ we have to get remotes, both
>> $GIT_DIR/remotes and config remote.xxx, info. And the latter (config
>> remotes info) needs config parsing, something we lack.
> 
> Does that mean we _can_ parse $GIT_DIR/remotes? ;-)

No, but for implementing showing remote branches in gitweb _well_,
but without frills'n'whistles, it is enough to know files in
$GIT_DIR/remotes (Find::find those files), and don't need to parse
remotes/ files.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git