summaryrefslogtreecommitdiffabout
path: root/ui-patch.c
authorLars Hjemli <hjemli@gmail.com>2008-01-04 12:43:40 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-01-04 12:43:40 (UTC)
commitf80ff37a1706e6774ca21a3ce1fceeb17f89a37a (patch) (side-by-side diff)
tree49558c7d594c054a9523f332de33112853e2c125 /ui-patch.c
parent620bb3e5e4ff87da740fe7232ba74330b5f862d4 (diff)
downloadcgit-f80ff37a1706e6774ca21a3ce1fceeb17f89a37a.zip
cgit-f80ff37a1706e6774ca21a3ce1fceeb17f89a37a.tar.gz
cgit-f80ff37a1706e6774ca21a3ce1fceeb17f89a37a.tar.bz2
Handle missing default branch and error out on invalid branch names
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>
Diffstat (limited to 'ui-patch.c') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions