summaryrefslogtreecommitdiff
path: root/include/git2.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-01-28 23:25:07 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2018-11-03 16:44:26 +0000
commit02b1083ab779e4d8d2279dea1a4ae38ec1d2e47b (patch)
tree66998d89fe22cf2609b296ceca742f6d47bdeae4 /include/git2.h
parent2b12dcf6d6971a622abe9730472dc373c0856d98 (diff)
downloadlibgit2-02b1083ab779e4d8d2279dea1a4ae38ec1d2e47b.tar.gz
apply: introduce `git_apply_tree`
Introduce `git_apply_tree`, which will apply a `git_diff` to a given `git_tree`, allowing an in-memory patch application for a repository.
Diffstat (limited to 'include/git2.h')
-rw-r--r--include/git2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2.h b/include/git2.h
index e182ce924..9239b48c8 100644
--- a/include/git2.h
+++ b/include/git2.h
@@ -9,6 +9,7 @@
#define INCLUDE_git_git_h__
#include "git2/annotated_commit.h"
+#include "git2/apply.h"
#include "git2/attr.h"
#include "git2/blob.h"
#include "git2/blame.h"