]> git.99rst.org Git - git.git/commit
builtin/pack-objects.c: return from create_object_entry()
authorTaylor Blau <redacted>
Fri, 20 May 2022 23:17:49 +0000 (19:17 -0400)
committerJunio C Hamano <redacted>
Thu, 26 May 2022 22:48:26 +0000 (15:48 -0700)
commitfa23090b0c5cc27d0720535e27236fef9b409efb
tree23e295e6511e7be8e9413afdc0e7477c8c89ccc9
parent2bd44278244d3dc4cc11916ecb1f31f826709a20
builtin/pack-objects.c: return from create_object_entry()

A new caller in the next commit will want to immediately modify the
object_entry structure created by create_object_entry(). Instead of
forcing that caller to wastefully look-up the entry we just created,
return it from create_object_entry() instead.

Signed-off-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/pack-objects.c
git clone https://git.99rst.org/PROJECT