summaryrefslogtreecommitdiff
path: root/src/diff.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff.h')
-rw-r--r--src/diff.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/diff.h b/src/diff.h
new file mode 100644
index 00000000..1bb5c36f
--- /dev/null
+++ b/src/diff.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2009-2012 the libgit2 contributors
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+#ifndef INCLUDE_diff_h__
+#define INCLUDE_diff_h__
+
+#include <stdio.h>
+#include "vector.h"
+#include "buffer.h"
+
+struct git_diff_list {
+ git_repository *repo;
+ git_diff_options opts;
+ git_buf pfx;
+ git_vector files; /* vector of git_diff_file_delta */
+};
+
+#endif
+