summaryrefslogtreecommitdiff
path: root/src/tree.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2014-12-16 19:24:04 -0600
committerEdward Thomson <ethomson@edwardthomson.com>2014-12-17 13:05:27 -0500
commitdce7b1a4e75551804a33591744d40d0582c57cfb (patch)
treefe3d7175cc770d1d3940a3d90672913817f5bc51 /src/tree.h
parentec74b40ceef3dc3892c7d84bb4f5d99bab504ba4 (diff)
downloadlibgit2-dce7b1a4e75551804a33591744d40d0582c57cfb.tar.gz
treebuilder: take a repository for path validation
Path validation may be influenced by `core.protectHFS` and `core.protectNTFS` configuration settings, thus treebuilders can take a repository to influence their configuration.
Diffstat (limited to 'src/tree.h')
-rw-r--r--src/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tree.h b/src/tree.h
index 5d27eb7c9..d01b6fd41 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -26,6 +26,7 @@ struct git_tree {
};
struct git_treebuilder {
+ git_repository *repo;
git_strmap *map;
};