Thread (2 messages) flat view 2 messages, 2 authors, 2021-12-21

Re: [RFC PATCH] object-file API: add a format_loose_header() function

From: Junio C Hamano <hidden>
Date: 2021-12-21 02:11:17

Ævar Arnfjörð Bjarmason [off-list ref] writes:
I've got some patches locally to convert e.g. write_object_file() to use
the enum, and it removes the need for some callers to convert enum to
char *, only to have other things convert it back.

So I think for any new APIs it makes sense to work towards sidelining
the hash-object.c --literally caller.
Your logic is backwards to argue "because I did something this way,
it makes sense to do it this way"?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help