git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-browser and branch names

From
David Symonds <dsymonds@gmail.com>
Date
Oct 1, 2007, 11:24 UTC
Message-ID
<ee77f5c20710010424x1f83aa10kcde7033711b02093@mail.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.
Next: Jean-François Veillette
Message 1 of 3 in “git-browser and branch names”
  1. David SymondsOct 1, 2007
  2. Jean-François VeilletteOct 1, 2007
  3. David SymondsOct 1, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.