consolidate two copies of new style object header parsing code.
[gitweb.git] / builtin-prune.c
index 6a86eb52aedc45b0a59adad4da31341440f2f82e..fc885ce55bbb3a44367b8cec1ea66b1918c78f15 100644 (file)
@@ -10,8 +10,8 @@
 #include "builtin.h"
 #include "cache-tree.h"
 
-static const char prune_usage[] = "git prune [-n]";
-static int show_only = 0;
+static const char prune_usage[] = "git-prune [-n]";
+static int show_only;
 static struct rev_info revs;
 
 static int prune_object(char *path, const char *filename, const unsigned char *sha1)