]> git.proxmox.com Git - libgit2.git/commit
tree: re-use the id and filename in the odb object
authorCarlos Martín Nieto <cmn@dwim.me>
Sun, 20 Mar 2016 10:00:12 +0000 (11:00 +0100)
committerEdward Thomson <ethomson@github.com>
Mon, 11 Apr 2016 19:58:58 +0000 (15:58 -0400)
commit26f2cefb8164330714513e4a3502918fc854a3ae
treec6e9fa19b6053736b1784f84cac7df11be7df993
parent177890838a5d9165d621dfc32674ce5ecc41ee36
tree: re-use the id and filename in the odb object

Instead of copying over the data into the individual entries, point to
the originals, which are already in a format we can use.
src/index.c
src/iterator.c
src/push.c
src/submodule.c
src/tree.c
src/tree.h
tests/diff/iterator.c
tests/object/tree/attributes.c