]> git.proxmox.com Git - libgit2.git/commit
tree: use the basename for the entry removal
authorCarlos Martín Nieto <cmn@dwim.me>
Thu, 19 May 2016 13:22:02 +0000 (15:22 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Thu, 19 May 2016 13:22:02 +0000 (15:22 +0200)
commit6ee08d2cd0671d42e4148988863a6a40fbe721cb
tree53ae4d3cc52a1bdab361237cdeb750e2ef0cdf49
parent922496562b82d79e9c4138b69299801274b7bf1c
tree: use the basename for the entry removal

When we want to remove the file, use the basename as the name of the
entry to remove, instead of the full one, which includes the directories
we've inserted into the stack.
src/tree.c