diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-10-28 15:36:18 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-10-28 15:38:19 +0100 |
commit | cbcdbcf2bff23113fe81df8f11fe7843b8ed637e (patch) | |
tree | 1c434e9005aa946daa8f7aa49a9c9f3656349068 /ui-shared.c | |
parent | Teach log search about --grep, --author and --committer (diff) | |
download | cgit-pink-cbcdbcf2bff23113fe81df8f11fe7843b8ed637e.tar.gz cgit-pink-cbcdbcf2bff23113fe81df8f11fe7843b8ed637e.zip |
Make print_branch() handle refs not pointing at commits
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>
Diffstat (limited to 'ui-shared.c')
0 files changed, 0 insertions, 0 deletions