]> gitweb.ps.run Git - ps-cgit/commitdiff
Handle missing default branch and error out on invalid branch names
authorLars Hjemli <hjemli@gmail.com>
Fri, 4 Jan 2008 12:43:40 +0000 (13:43 +0100)
committerLars Hjemli <hjemli@gmail.com>
Fri, 4 Jan 2008 12:43:40 +0000 (13:43 +0100)
When no branch is specified and the repository does not have a default branch,
use the first branch.

Also, print sensible errormessages when the repository does not contain any
branches and when invalid branchnames are specified.

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

No differences found