Subject: Re: [PATCH v6 2/2] attr: add flag `--source` to work with tree-ish

From: Junio C Hamano <[email-masked]>
Date: Fri, 13 Jan 2023 14:19:38 -0800

Karthik Nayak <[email-masked]> writes:

> diff --git a/attr.h b/attr.h
> index 3fb40cced0..f4a2bedd68 100644
> --- a/attr.h
> +++ b/attr.h
> @@ -1,6 +1,8 @@
>  #ifndef ATTR_H
>  #define ATTR_H
>  
> +#include "hash.h"

You only want "struct object_id" declared.  Why include the whole
file?