Thread (2 messages) flat view 2 messages, 2 authors, 2017-08-16

Re: [PATCH 5/5] commit: rewrite read_graft_line

From: Junio C Hamano <hidden>
Date: 2017-08-15 18:30:21

Patryk Obara [off-list ref] writes:
The previous implementation of read_graft_line used calculations based
on GIT_SHA1_RAWSZ and GIT_SHA1_HEXSZ to determine the number of commit
ids in a single graft line.  New implementation does not depend on these
constants, so it adapts to any object_id buffer size.
I am not sure if this is a good approach.  Just like in 2/5 you can
use the MAX thing instead of 20, instead of having each graft entry
allocate a separate oid_array.oid[].

Is this because you expect more than one _kind_ of hashes are used
at the same time?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help