Re: [PATCH 3/3] Makefile: Add cache-tree.h to the public headers list
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:33
"Dmitry V. Levin" [off-list ref] 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 ;-)