Re: [PATCH 3/3] Move header files into a include/ subdirectory
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Feb 18, 2011, 03:52 UTC
- Message-ID
- <AANLkTi=VhJi4eDrtRPHukckQKo9TYCcnh1_u0_tnv24z@mail.gmail.com>
- In-Reply-To
- <20110218023750.GD23435@elie>
2011/2/18 Jonathan Nieder <jrnieder@gmail.com>:
Show 9 quoted lines
> Move most of git's header files to an include/ subdirectory. > This leaves us with 71 fewer files in the toplevel directory, > making the high-level structure of the codebase a little easier > to see. > > Three headers stay behind, at least for now: git-compat-util.h, > strbuf.h, and cache.h are referred to by some system-specific code > (in compat/) using paths starting with "..". Making these three core > headers especially visible doesn't seem like a bad idea, anyway.
Perhaps it's time to split a large portion of cache.h to libgit.h and make cache.h include libgit.h.
cache.h and git-compat-util.h at topdir is ok to me. strbuf.h should go to libgit though, imo.
> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
-- Duy