Re: [PATCH 06/16] hash.h: move some oid-related declarations from cache.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Elijah Newren via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes:
> diff --git a/submodule-config.h b/submodule-config.h
> index 28a8ca6bf46..c2045875bbb 100644
> --- a/submodule-config.h
> +++ b/submodule-config.h
> @@ -1,7 +1,6 @@
>  #ifndef SUBMODULE_CONFIG_CACHE_H
>  #define SUBMODULE_CONFIG_CACHE_H
>  
> -#include "cache.h"
>  #include "config.h"
>  #include "hashmap.h"
>  #include "submodule.h"
> diff --git a/t/helper/test-submodule-nested-repo-config.c b/t/helper/test-submodule-nested-repo-config.c
> index dc1c14bde37..a3848a8b668 100644
> --- a/t/helper/test-submodule-nested-repo-config.c
> +++ b/t/helper/test-submodule-nested-repo-config.c
> @@ -1,4 +1,5 @@
>  #include "test-tool.h"
> +#include "cache.h"
>  #include "submodule-config.h"

This addition of including cache.h caught me a bit off-guard, but I
can see that it is because submodule-config.h lost its own include of
cache.h. Thanks - the patches up to and including this patch look good.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux