]> git.proxmox.com Git - libgit2.git/commit - src/tree.c
tree: handle removal of all entries in the updater
authorCarlos Martín Nieto <cmn@dwim.me>
Tue, 24 May 2016 12:30:43 +0000 (14:30 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Tue, 24 May 2016 12:30:43 +0000 (14:30 +0200)
commita2cb47130ec7662811fe3447f69bae3f176e0362
tree35413be2e32565798a07568f1bdcc60e12b35560
parentc91a1dc1d975aa32c58cfafbf1625dcbb0be7c3c
tree: handle removal of all entries in the updater

When we remove all entries in a tree, we should remove that tree from
its parent rather than include the empty tree.
src/tree.c
tests/object/tree/update.c