From: Lars Hjemli Date: Mon, 20 Jun 2011 22:52:51 +0000 (+0000) Subject: cgit.c: use resolve_ref() to guess_defbranch() X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/8d7c2ec295423fe31d9113038f6717d7b64dbe57?ds=inline;hp=8d7c2ec295423fe31d9113038f6717d7b64dbe57 cgit.c: use resolve_ref() to guess_defbranch() The resolve_ref() function handles reading of git- and filesystem symbolic links (including proper whitespace trimming) and packed refs. There's no point in reimplementing this function in cgit. Signed-off-by: Lars Hjemli ---