static const char *unpacker = "git-unpack-objects";
-static int show_ref(const char *path, unsigned char *sha1)
+static int show_ref(const char *path, const unsigned char *sha1)
{
packet_write(1, "%s %s\n", sha1_to_hex(sha1), path);
return 0;
char ref_name[0];
};
-struct command *commands = NULL;
+static struct command *commands = NULL;
static int is_all_zeroes(const char *hex)
{