minor git-prune optimization
authorNicolas Pitre <nico@cam.org>
Wed, 21 Mar 2007 03:32:13 +0000 (23:32 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 21 Mar 2007 05:17:47 +0000 (22:17 -0700)
commit3254d218b4f9ef1550d1d83670fad8f455b08578
tree998393b444bb7f9100bc163dd42021a7634f20f7
parent57216856999babf6f90235cf6c41dfcef98a3dab
minor git-prune optimization

Don't try to remove the containing directory for every pruned object but
try only once after the directory has been scanned instead.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-prune.c