Re: [PATCHv3 3/6] Move definition of enum branch_track from cache.h to branch.h
Show 12 quoted lines
> 'branch_track' feels more closely related to branching, and it is
> needed later in branch.h; rather than #include'ing cache.h in branch.h
> for this small enum, just move the enum and the external declaration
> for git_branch_track to branch.h.
>
> Signed-off-by: Elijah Newren <newren@gmail.com>
> ---
> branch.h | 11 +++++++++++
> cache.h | 10 ----------
> config.c | 1 +
> environment.c | 1 +
> 4 files changed, 13 insertions(+), 10 deletions(-)
\o/
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>