From: Lars Hjemli Date: Mon, 1 Sep 2008 22:53:04 +0000 (+0200) Subject: ui-plain: handle subdirectories X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/135b231160b4c4e25b70e9e31e6df2bcf9e12c56?hp=135b231160b4c4e25b70e9e31e6df2bcf9e12c56 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 ---