From: Junio C Hamano Date: Fri, 13 Jan 2023 22:19:38 GMT Subject: Re: [PATCH v6 2/2] attr: add flag `--source` to work with tree-ish Message-ID: In-Reply-To: <57f5957127ce3be2621445806f2f00857ac8b1aa.1673521102.git.karthik.188@gmail.com> Karthik Nayak 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?