]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin-prune.c
Merge branch 'jc/add-addremove'
[git.git] / builtin-prune.c
index 25f9304b829c9074e8a034eba5e34c38794058a4..7de4cabe078a67e1272ad9a483d302a8642bd4f7 100644 (file)
@@ -7,7 +7,7 @@
 #include "parse-options.h"
 
 static const char * const prune_usage[] = {
-       "git-prune [-n] [--expire <time>] [--] [<head>...]",
+       "git prune [-n] [--expire <time>] [--] [<head>...]",
        NULL
 };
 static int show_only;
@@ -156,7 +156,6 @@ int cmd_prune(int argc, const char **argv, const char *prefix)
        mark_reachable_objects(&revs, 1);
        prune_object_dir(get_object_directory());
 
-       sync();
        prune_packed_objects(show_only);
        remove_temporary_files();
        return 0;