"Alex Riesen" <raa.lkml@xxxxxxxxx> writes: > On 5/11/07, Junio C Hamano <junkio@xxxxxxx> wrote: >> @@ -268,6 +268,8 @@ static void unlink_entry(char *name) >> { >> char *cp, *prev; >> >> + if (has_symlink_leading_path(name)) >> + return; > > This can slow down the unlink case quiet considerably. > Maybe the symlink paths can be cached? Yes it can, and probably doable. This is called once per each path that disappears from the result, relative to the current tree. The number of calls to this function is potentially quite large. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html