about summary refs log tree commit diff
path: root/cache.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 /cache.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 'cache.c')
0 files changed, 0 insertions, 0 deletions
019-07-12Support insert mode in shottyJune McEnroe This is how curses puts characters into the bottom-right cell of the terminal. 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe