]> gitweb.ps.run Git - ps-cgit/commitdiff
Make print_branch() handle refs not pointing at commits
authorLars Hjemli <hjemli@gmail.com>
Sun, 28 Oct 2007 14:36:18 +0000 (15:36 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sun, 28 Oct 2007 14:38:19 +0000 (15:38 +0100)
The master branch of stable/linux-2.6.20 currently references a tag
object, which makes print_branch() die with a segfault. This teaches
print_branch() to handle such cases more gracefully.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

No differences found