git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 3/3] Makefile: Add cache-tree.h to the public headers list

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 6, 2007, 00:16 UTC
Message-ID
<7vy7fkfy1c.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20070905232251.GC331@nomad.office.altlinux.org>
"Dmitry V. Levin" <ldv@altlinux.org> writes:
> Some external projects (e.g. parsecvs) need cache-tree.h file.

Your patch shows that our Makefile has been lacking a necessary dependency for a long time. LIB_H is not "public headers list", but more like "the headers everybody depends on", and the header file should have been on that list. Thanks.

I am however not convinced it is a good idea to treat libgit.a as if it is a library. It is not a library in the usual sense of the word. Originally we did libgit.a primarily so that we do not have to list all the *.o dependencies in the Makefile out of laziness ;-)

Previous: Dmitry V. LevinNext: Dmitry V. Levin
Message 2 of 3 in “Makefile: Add cache-tree.h to the public headers list”
  1. 3/3 Makefile: Add cache-tree.h to the public headers listDmitry V. Levin, Sep 5, 2007
  2. Junio C HamanoSep 6, 2007
  3. Dmitry V. LevinSep 6, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.