Commit 5c3a42ad4cf1a3265f71867d3a8f6845c5a273bb

apnadkarni 2017-11-25T15:48:03

Include git2/worktree.h in git2.h I'm not sure if worktree.h was intentionally left out of git2.h. Looks like an oversight since it is in fact documented.

1
2
3
4
5
6
7
8
9
10
11
diff --git a/include/git2.h b/include/git2.h
index bc4333c..5f6104e 100644
--- a/include/git2.h
+++ b/include/git2.h
@@ -62,5 +62,6 @@
 #include "git2/tree.h"
 #include "git2/types.h"
 #include "git2/version.h"
+#include "git2/worktree.h"
 
 #endif