Move definition of enum branch_track from cache.h to branch.h
authorElijah Newren <newren@gmail.com>
Wed, 15 Aug 2018 17:54:07 +0000 (10:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Aug 2018 18:52:09 +0000 (11:52 -0700)
commite730b81df6bff6f78ecd705a1f8e5df48cac75ca
treed1111c9052968dce95ad7a59943a44f25001825b
parent17313107454de99c0ebdf1a981b1f6a2b17dc2f5
Move definition of enum branch_track from cache.h to branch.h

'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.

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.h
cache.h
config.c
environment.c