diff options
author | Lars Hjemli <hjemli@gmail.com> | 2011-06-20 22:52:51 +0000 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-06-20 23:23:57 +0000 |
commit | 8d7c2ec295423fe31d9113038f6717d7b64dbe57 (patch) | |
tree | 78df2a78ae27a8f879ae71e92a47b0e284de7221 /ui-refs.c | |
parent | Only guess default branch when a repo page is requested (diff) | |
download | cgit-pink-8d7c2ec295423fe31d9113038f6717d7b64dbe57.tar.gz cgit-pink-8d7c2ec295423fe31d9113038f6717d7b64dbe57.zip |
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 <hjemli@gmail.com>
Diffstat (limited to 'ui-refs.c')
0 files changed, 0 insertions, 0 deletions