git-browser and branch names

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

git-browser and branch names

From: David Symonds <hidden>
Date: 2016-06-15 22:43:37

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.

Re: git-browser and branch names

From: Jean-François Veillette <hidden>
Date: 2016-06-15 22:43:37

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

Re: git-browser and branch names

From: David Symonds <hidden>
Date: 2016-06-15 22:43:37

On 01/10/2007, Jean-François Veillette [off-list ref] wrote:
Le 07-10-01 à 07:24, David Symonds a écrit :
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help