diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-08-26 10:28:09 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-26 09:21:01 -0700 |
commit | 4ebef533d75a197f660b38d615489ad8a233bba1 (patch) | |
tree | 5bb2916f395204ce53a9340c0915d03583c6bb4a /split-index.h | |
parent | get_oid_hex_segment(): return 0 on success (diff) | |
download | tgif-4ebef533d75a197f660b38d615489ad8a233bba1.tar.xz |
load_subtree(): combine some common code
Write the length into `object_oid` (before copying) rather than
`l->key_oid` (after copying). Then combine some code from the two `if`
blocks.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'split-index.h')
0 files changed, 0 insertions, 0 deletions