git-reset to remove "$GIT_DIR/MERGE_MSG"
[gitweb.git] / builtin-prune.c
index e79b515c76d9eac9f1ce8e5d88ba0f7058ca53fb..d853902c51e78800b76cf4714dffaa79600d3e53 100644 (file)
@@ -255,5 +255,7 @@ int cmd_prune(int argc, const char **argv, const char *prefix)
 
        prune_object_dir(get_object_directory());
 
+       sync();
+       prune_packed_objects(show_only);
        return 0;
 }