author | Nicolas Pitre <nico@cam.org> | |
Wed, 21 Mar 2007 03:32:13 +0000 (23:32 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 21 Mar 2007 05:17:47 +0000 (22:17 -0700) | ||
commit | 3254d218b4f9ef1550d1d83670fad8f455b08578 | |
tree | 998393b444bb7f9100bc163dd42021a7634f20f7 | tree | snapshot |
parent | 57216856999babf6f90235cf6c41dfcef98a3dab | commit | diff |
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>
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 | diff | blob | history |