From: Lars Hjemli Date: Sun, 28 Oct 2007 14:36:18 +0000 (+0100) Subject: Make print_branch() handle refs not pointing at commits X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/cbcdbcf2bff23113fe81df8f11fe7843b8ed637e?ds=inline;hp=cbcdbcf2bff23113fe81df8f11fe7843b8ed637e 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 ---