mirror of https://git.zx2c4.com/cgit/
ui-plain: handle subdirectories
The callback from read_tree_recursive just needs to check the type of each tree entry; if it's a dir we want to continue scanning, if it's a regular file we'll assume it's the one we requested. And while at it, remove some stray fprintfs. Signed-off-by: Lars Hjemli <hjemli@gmail.com>lh/pretty-blob-view
parent
04a6f3b0bf
commit
135b231160
Loading…
Reference in New Issue