Re: gitweb and remote branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/28/07, Giuseppe Bilotta <giuseppe.bilotta@xxxxxxxxx> wrote:
> On 8/28/07, Jakub Narebski <jnareb@xxxxxxxxx> wrote:
> > [Cc: Giuseppe Bilotta <giuseppe.bilotta@xxxxxxxxx>, git@xxxxxxxxxxxxxxx]
> >
> > Giuseppe Bilotta wrote:
> >
> > > Currently, remote branch heads are only shown in the
> > > shortlog, but I would like them to appear in the heads list,
> > > together with the local branches. Is there some option for it?
> > > I've browsed the gitweb source but I haven't found anything
> > > that looked like it.
> >
> > It is on my [long] TODO list for gitweb. But thanks for reminding
> > it.
> >
> > Quick and dirty hack would be to change git for 'heads' view to accept
> > '-a' (all branches) extra option...
>
> If I read the git_get_heads_list correctly, it uses for-each-ref on
> refs/heads, so -a doesn't (and wouldn't) work. So adding refs/remotes
> is probably a better idea.

I've given a better look at the code and I think I can whip up a patch
to implemet the feature. I have no idea about how to create a new
option in gitweb though, so I'll have to leave it that to someone
else.

-- 
Giuseppe "Oblomov" Bilotta
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux