Merge branch 'lj/refs'
[git/git.git] / builtin-prune.c
index e79b515..d853902 100644 (file)
@@ -255,5 +255,7 @@ int cmd_prune(int argc, const char **argv, const char *prefix)
 
        prune_object_dir(get_object_directory());
 
 
        prune_object_dir(get_object_directory());
 
+       sync();
+       prune_packed_objects(show_only);
        return 0;
 }
        return 0;
 }