summaryrefslogtreecommitdiff
path: root/docs/git2/Index.luadoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/git2/Index.luadoc')
-rw-r--r--docs/git2/Index.luadoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/git2/Index.luadoc b/docs/git2/Index.luadoc
index bfa51cc..fe961e5 100644
--- a/docs/git2/Index.luadoc
+++ b/docs/git2/Index.luadoc
@@ -166,9 +166,10 @@ end
--
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/index/git_index_read_tree">git_index_read_tree</a>:<p><p>The current index contents will be replaced by the specified tree.
-- @param tree tree to read. Must be of type <a href="Tree.html">Tree</a>.
+-- @param should_be_null Must be of type <code>lightuserdata</code>.
-- @return <code>true</code> if no error.
-- @return Error string.
-- @name Index:read_tree
-function Index:read_tree(tree)
+function Index:read_tree(tree, should_be_null)
end