Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/lib-diff-alternative: abstract away SHA-1-specific constants
[gitweb.git]
/
t
/
helper
/
test-sha1-array.c
diff --git
a/t/helper/test-sha1-array.c
b/t/helper/test-sha1-array.c
index edfd52d82aeca0bb9ba2c5b2ce18bc39d27e5a34..ad5e69f9d3b0e03442f0d23b3b559bbfc163ee7b 100644
(file)
--- a/
t/helper/test-sha1-array.c
+++ b/
t/helper/test-sha1-array.c
@@
-1,3
+1,4
@@
+#include "test-tool.h"
#include "cache.h"
#include "sha1-array.h"
@@
-7,7
+8,7
@@
static int print_oid(const struct object_id *oid, void *data)
return 0;
}
-int cmd_
main
(int argc, const char **argv)
+int cmd_
_sha1_array
(int argc, const char **argv)
{
struct oid_array array = OID_ARRAY_INIT;
struct strbuf line = STRBUF_INIT;