From 135b231160b4c4e25b70e9e31e6df2bcf9e12c56 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 01 Sep 2008 22:53:04 +0000 Subject: 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 --- (limited to 'git') -- cgit v0.9.0.2