Re: [RFC PATCH 07/14] odb: gather the odb sources under odb/
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 24, 2026, 14:43 UTC
- Message-ID
- <xmqqjypfshnh.fsf@gitster.g>
- In-Reply-To
- <aoxQaSGaDwqkP7Tb@ugly.lan>
Oswald Buddenhagen <oswald.buddenhagen@gmx.de> writes:
Show 14 quoted lines
> On Sun, Aug 23, 2026 at 10:18:51AM -0700, Michael Montalbo wrote: >>Move the 23 odb C sources and 26 headers into odb/ as renames. >> > i for one would go with lib/odb/. > >>+++ b/builtin/add.c >>-#include "object-file.h" >>-#include "odb.h" >>+#include "odb/object-file.h" >>+#include "odb/odb.h" >> > that's the wrong include style here. > it was already wrong in a lot of places, but as you rewrite everything > anyway, you could fix it just as well.
I do not agree with lib/odb/ suggestion, but I am curious what you think the "right" include stle is, because I cannot read it out of what you have written. Please do not assume that everybody knows what you think is right or wrong.
Do you mean they should not be quoted in a pair of double quotes because the behaviour of such includes is implementation-defined (instead use "<>" as we use -I<path> on the command line)? Do you mean they should be alphabetical? Something else?
Thanks.