# [PATCH] list-objects-filter-options.h: fix an 'hdr-check' warning

2 messages from 2021-04-17 to 2021-04-19. Participants: Ramsay Jones, Patrick Steinhardt.
Thread: https://gitlist.dev/t/55510

## Ramsay Jones, 2021-04-17 21:37

Subject: [PATCH] list-objects-filter-options.h: fix an 'hdr-check' warning
Message-ID: <fc73f7e7-44ca-773a-7f49-e3bf29dd25bb@ramsayjones.plus.com>
URL: https://gitlist.dev/e/fc73f7e7-44ca-773a-7f49-e3bf29dd25bb%40ramsayjones.plus.com

```

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---

Hi Patrick,

If you need to re-roll your 'ps/rev-list-object-type-filter' branch,
could you please squash this into the relevant patch (commit 890c534cea
("list-objects: implement object type filter", 2021-04-12)).

Sorry for being a bit tardy with this email - normally I would have sent
it soon after your branch hit 'seen', but I got distracted. ;-)

Thanks!

ATB,
Ramsay Jones

 list-objects-filter-options.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/list-objects-filter-options.h b/list-objects-filter-options.h
index 4d0d0588cc..da5b6737e2 100644
--- a/list-objects-filter-options.h
+++ b/list-objects-filter-options.h
@@ -1,6 +1,7 @@
 #ifndef LIST_OBJECTS_FILTER_OPTIONS_H
 #define LIST_OBJECTS_FILTER_OPTIONS_H
 
+#include "cache.h"
 #include "parse-options.h"
 #include "string-list.h"
 
-- 
2.31.0

```

## Patrick Steinhardt, 2021-04-19 10:53

Subject: Re: [PATCH] list-objects-filter-options.h: fix an 'hdr-check' warning
Message-ID: <YH1hRQKM1mQk99Iy@tanuki>
URL: https://gitlist.dev/e/YH1hRQKM1mQk99Iy%40tanuki
In-Reply-To: <fc73f7e7-44ca-773a-7f49-e3bf29dd25bb@ramsayjones.plus.com>

```
On Sat, Apr 17, 2021 at 10:37:09PM +0100, Ramsay Jones wrote:
> 
> Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
> ---
> 
> Hi Patrick,
> 
> If you need to re-roll your 'ps/rev-list-object-type-filter' branch,
> could you please squash this into the relevant patch (commit 890c534cea
> ("list-objects: implement object type filter", 2021-04-12)).
> 
> Sorry for being a bit tardy with this email - normally I would have sent
> it soon after your branch hit 'seen', but I got distracted. ;-)
> 
> Thanks!
> 
> ATB,
> Ramsay Jones

Thanks a lot for the fixup, will do!

Patrick

> 
>  list-objects-filter-options.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/list-objects-filter-options.h b/list-objects-filter-options.h
> index 4d0d0588cc..da5b6737e2 100644
> --- a/list-objects-filter-options.h
> +++ b/list-objects-filter-options.h
> @@ -1,6 +1,7 @@
>  #ifndef LIST_OBJECTS_FILTER_OPTIONS_H
>  #define LIST_OBJECTS_FILTER_OPTIONS_H
>  
> +#include "cache.h"
>  #include "parse-options.h"
>  #include "string-list.h"
>  
> -- 
> 2.31.0

```
