Diff options
authorLars Hjemli <hjemli@gmail.com>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
ui-tree: unify with ui-view, use path to select tree/blob
This teaches ui-tree to show both trees and blobs, thereby making ui-view superfluous. At the same time, ui-tree is extended to honour the specified path instead of requiering a tree/blob sha1.
-rw-r--r--Makefile2
-rw-r--r--cgit.c5
-rw-r--r--cgit.css16
-rw-r--r--cgit.h8
-rw-r--r--shared.c3
-rw-r--r--ui-commit.c3
-rw-r--r--ui-tree.c194
-rw-r--r--ui-view.c55
8 files changed, 174 insertions, 112 deletions