# git-browser and branch names

3 messages from 2007-10-01 to 2007-10-01. Participants: David Symonds, Jean-François Veillette.
Thread: https://gitlist.dev/t/10102

## David Symonds, 2007-10-01 11:24

Subject: git-browser and branch names
Message-ID: <ee77f5c20710010424x1f83aa10kcde7033711b02093@mail.gmail.com>
URL: https://gitlist.dev/e/ee77f5c20710010424x1f83aa10kcde7033711b02093%40mail.gmail.com

```
Hi,

I've been using git-browser hooked up to gitweb for several weeks now
(git 1.5.2.1), and it's going great. However, I've hit my first bug:
it seems that certain branch head names cause the whole diagram (and
log lines, etc.) to fail to render, only displaying the "Starting
from: all <repo>.git heads" stuff down the bottom. As to the various
names I've tested:

okay: master, 2.5j, 2.5-dev, a.b, 2-5, 2.b, b.2, 2.5.0
fails: 2.5, 2.6

I've experimented by just using 'git branch -m <old> <new>' to rename
a branch that I'd prefer to just call '2.5', so I'm pretty sure that
I'm not causing things to break myself.

It seems that it's when the branch name looks like a decimal number,
but there's nothing that appears in Apache's error_log. This leads me
to believe it's a Javascript bug.

Can anyone give me pointers or suggestions as to where to start
debugging this? Anyone else encountered this?


Thanks,

Dave.

```

## Jean-François Veillette, 2007-10-01 12:34

Subject: Re: git-browser and branch names
Message-ID: <C4186BBD-11BA-4A58-9230-00076FF6F8F7@yahoo.ca>
URL: https://gitlist.dev/e/C4186BBD-11BA-4A58-9230-00076FF6F8F7%40yahoo.ca
In-Reply-To: <ee77f5c20710010424x1f83aa10kcde7033711b02093@mail.gmail.com>

```
Le 07-10-01 à 07:24, David Symonds a écrit :
>
> Can anyone give me pointers or suggestions as to where to start
> debugging this? Anyone else encountered this?

To debug html/javascript use  Firefox and Firebug.
http://www.getfirebug.com/

- jfv

```

## David Symonds, 2007-10-01 15:34

Subject: Re: git-browser and branch names
Message-ID: <ee77f5c20710010834l2c7ae4cdqb09445bff2f3835d@mail.gmail.com>
URL: https://gitlist.dev/e/ee77f5c20710010834l2c7ae4cdqb09445bff2f3835d%40mail.gmail.com
In-Reply-To: <C4186BBD-11BA-4A58-9230-00076FF6F8F7@yahoo.ca>

```
On 01/10/2007, Jean-François Veillette <jean_francois_veillette@yahoo.ca> wrote:
> Le 07-10-01 à 07:24, David Symonds a écrit :
> >
> > Can anyone give me pointers or suggestions as to where to start
> > debugging this? Anyone else encountered this?
>
> To debug html/javascript use  Firefox and Firebug.
> http://www.getfirebug.com/

Great, thanks for the pointer. My first real foray into Javascript has
been successful -- a patch will soon follow.


Dave.

```
