]> git.proxmox.com Git - libgit2.git/commit - src/submodule.c
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)
committerCarlos Martín Nieto <cmn@dwim.me>
Sun, 20 Mar 2016 10:00:12 +0000 (11:00 +0100)
commit60a194aa86d54ffb55c1abff8d0ef05647f936e8
treef8312c890d8a5862d1d3ee705fe97fc0778f1bb2
parentec5a43b60ab0dfcb42db8101edfca34be3d62947
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