diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-24 17:51:45 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-24 17:51:45 +0200 |
commit | 5e37874dd43239afb0e611a1e4ef426c0614d905 (patch) | |
tree | badc60ab1d0179612aed5e49a8101df97fd61fde /include/git2 | |
parent | 130cb548011c95ddcbba4a61affc32e3b513ed5b (diff) | |
parent | fcc60066073b746332eb859c7fccdcece150bfcc (diff) | |
download | libgit2-5e37874dd43239afb0e611a1e4ef426c0614d905.tar.gz |
Merge remote-tracking branch 'upstream/cmn/treebuilder-perf'
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/tree.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h index 56922d40b..42b68193e 100644 --- a/include/git2/tree.h +++ b/include/git2/tree.h @@ -301,8 +301,10 @@ GIT_EXTERN(const git_tree_entry *) git_treebuilder_get( * If an entry named `filename` already exists, its attributes * will be updated with the given ones. * - * The optional pointer `out` can be used to retrieve a pointer to - * the newly created/updated entry. Pass NULL if you do not need it. + * The optional pointer `out` can be used to retrieve a pointer to the + * newly created/updated entry. Pass NULL if you do not need it. The + * pointer may not be valid past the next operation in this + * builder. Duplicate the entry if you want to keep it. * * No attempt is being made to ensure that the provided oid points * to an existing git object in the object database, nor that the |