about summary refs log tree commit diff
path: root/ui-patch.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-01-04 13:43:40 +0100
committerLars Hjemli <hjemli@gmail.com>2008-01-04 13:43:40 +0100
commitf80ff37a1706e6774ca21a3ce1fceeb17f89a37a (patch)
tree49558c7d594c054a9523f332de33112853e2c125 /ui-patch.c
parentAdd plain patch view (diff)
downloadcgit-pink-f80ff37a1706e6774ca21a3ce1fceeb17f89a37a.tar.gz
cgit-pink-f80ff37a1706e6774ca21a3ce1fceeb17f89a37a.zip
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 '')
0 files changed, 0 insertions, 0 deletions
=fe750311b96eec22103143042eef1f4e4a722970&follow=1'>Day 3, part 2June McEnroe I am super surprised that worked on the first try. 2020-11-22Day 3, clean upJune McEnroe 2020-11-22Day 3June McEnroe This is fucking awful and I'm angry. 2020-11-22Day 2, part 2June McEnroe 2020-11-22Day 2June McEnroe 2020-11-22Day 1, part 2June McEnroe 2020-11-22Day 1June McEnroe 2020-11-22Move to 2016 directoryJune McEnroe