aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-03-02 12:32:12 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-02 10:38:03 -0500
commit2ab1cd9f3b796fa679c9d1b1ce338aaa2b0b1e53 (patch)
treeaa51e514b7858f51d1141f613b57815b2fba5bcb /cgit.h
parentc1633c6befb6762e1ac9434a29980e4df5ffee21 (diff)
Update git to v1.7.7.7
This release changes the archive interface so that we now need to pass argv into write_archive(). Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to '')
-rw-r--r--cgit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index f3d2556..c655bd8 100644
--- a/cgit.h
+++ b/cgit.h
@@ -11,6 +11,7 @@
#include <tag.h>
#include <diff.h>
#include <diffcore.h>
+#include <argv-array.h>
#include <refs.h>
#include <revision.h>
#include <log-tree.h>
@@ -274,6 +275,8 @@ struct cgit_context {
struct cgit_page page;
};
+typedef int (*write_archive_fn_t)(const char *, const char *);
+
struct cgit_snapshot_format {
const char *suffix;
const char *mimetype;