summaryrefslogtreecommitdiff
path: root/include/git2/annotated_commit.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2018-07-18 21:04:13 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2018-07-18 21:07:57 +0200
commit2dff7e282da77f6b791e843ec267d9ddecabc187 (patch)
treec6240328234c88d597f09d9845424d095324a1d6 /include/git2/annotated_commit.h
parent99bb98c0e8abb97b1daa3aff0307b93ed9291c08 (diff)
downloadlibgit2-2dff7e282da77f6b791e843ec267d9ddecabc187.tar.gz
tree: accept null ids in existing trees when updating
When we add entries to a treebuilder we validate them. But we validate even those that we're adding because they exist in the base tree. This disables using the normal mechanisms on these trees, even to fix them. Keep track of whether the entry we're appending comes from an existing tree and bypass the name and id validation if it's from existing data.
Diffstat (limited to 'include/git2/annotated_commit.h')
0 files changed, 0 insertions, 0 deletions