about summary refs log tree commit diff stats
path: root/shared.c
diff options
context:
space:
mode:
authorLars Hjemli2011-06-20 22:52:51 +0000
committerLars Hjemli2011-06-20 23:23:57 +0000
commit8d7c2ec295423fe31d9113038f6717d7b64dbe57 (patch)
tree78df2a78ae27a8f879ae71e92a47b0e284de7221 /shared.c
parentOnly guess default branch when a repo page is requested (diff)
downloadcgit-8d7c2ec295423fe31d9113038f6717d7b64dbe57.tar.gz
cgit-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 'shared.c')
0 files changed, 0 insertions, 0 deletions