]> gitweb.ps.run Git - ps-cgit/commit
ui-repolist.c: fallback to "master" if no default branch is specified
authorLars Hjemli <hjemli@gmail.com>
Tue, 19 Jul 2011 09:34:18 +0000 (09:34 +0000)
committerLars Hjemli <hjemli@gmail.com>
Tue, 19 Jul 2011 09:34:18 +0000 (09:34 +0000)
commit5293c8b7992bf3211b6bde7acbbd4e74ffd926d4
tree824bbee98e7696bbd909557e6948d1931149844f
parent8d7c2ec295423fe31d9113038f6717d7b64dbe57
ui-repolist.c: fallback to "master" if no default branch is specified

When looking for the modtime of a repo we used to rely on repo.defbranch
having a value. This is no longer true so this patch provides a default
value when needed.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-repolist.c