]> granicus.if.org Git - cgit/commit
ui-tree: render any matching README file in tree view
authorAndy Green <andy@warmcat.com>
Mon, 18 Jun 2018 06:25:11 +0000 (14:25 +0800)
committerAndy Green <andy@warmcat.com>
Thu, 28 Jun 2018 23:53:21 +0000 (07:53 +0800)
commit8307069d48a9e80031d6befec52ef93b37bbce6b
tree5bc0aa4fedab30f6253112b8bd52bd7cca0963b8
parent7d7ec486371658539009b8d348c517ccc90fb43c
ui-tree: render any matching README file in tree view

While listing the items in tree view, if we spot a filename
matching any inline-readme entries from the config file,
we stash the first one into walk_tree_context.

After the tree view has been shown, if there is a stashed
inline-readme we render it inline.

Signed-off-by: Andy Green <andy@warmcat.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
ui-tree.c