summaryrefslogtreecommitdiff
path: root/show-index.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-08-26 10:28:09 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-26 09:21:01 -0700
commit4ebef533d75a197f660b38d615489ad8a233bba1 (patch)
tree5bb2916f395204ce53a9340c0915d03583c6bb4a /show-index.c
parentget_oid_hex_segment(): return 0 on success (diff)
downloadtgif-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 'show-index.c')
0 files changed, 0 insertions, 0 deletions