diff --git a/builtin-prune-packed.c b/builtin-prune-packed.c
index 23faf3129fb65ec5592c5021d661498143d4f608..2d5b2cd353a5e80a74e3828aae8e0c7dfa0e1997 100644 (file)
--- a/builtin-prune-packed.c
+++ b/builtin-prune-packed.c
#include "progress.h"
static const char prune_packed_usage[] =
-"git-prune-packed [-n] [-q]";
+"git prune-packed [-n] [-q]";
#define DRY_RUN 01
#define VERBOSE 02
memcpy(hex+2, de->d_name, 38);
if (get_sha1_hex(hex, sha1))
continue;
- if (!has_sha1_pack(sha1, NULL))
+ if (!has_sha1_pack(sha1))
continue;
memcpy(pathname + len, de->d_name, 38);
if (opts & DRY_RUN)
/* Handle arguments here .. */
usage(prune_packed_usage);
}
- sync();
prune_packed_objects(opts);
return 0;
}