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>
This commit is contained in:
John Keeping
2013-03-02 12:32:12 +00:00
committed by Jason A. Donenfeld
parent c1633c6bef
commit 2ab1cd9f3b
3 changed files with 39 additions and 26 deletions

3
cgit.h
View File

@ -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;