Re: [PATCH 6/6] attr.h: remove duplicate struct definition

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

 



Elia Pinto <gitter.spiros@xxxxxxxxx> writes:

> Subject: Re: [PATCH 6/6] attr.h: remove duplicate struct definition

I do not see other 5 from 1/6 thru 5/6 on the list.

If this is a leftover bit follow-up to the 5-patch series whose
cover letter was <20220313195536.224075-1-gitter.spiros@xxxxxxxxx>
we often see such a message

 - with subject numbered as [PATCH 6/5]
 - as follow-up to the same cover letter.

The patch text looks good, and we can see from the output of

 $ git grep '^struct .*;' \*.h |
   sort | uniq -c | sort -n | grep -v '^ *1 '

that this is the only duplicated opaque struct declaration in the
header files.

For now, I'd assume that is the case and queue it on the same topic
branch as the other five.  Thanks.

> struct index_state is declared more than once.
>
> Signed-off-by: Elia Pinto <gitter.spiros@xxxxxxxxx>
> ---
>  attr.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/attr.h b/attr.h
> index 3732505eda..3fb40cced0 100644
> --- a/attr.h
> +++ b/attr.h
> @@ -121,7 +121,6 @@ struct git_attr;
>  /* opaque structures used internally for attribute collection */
>  struct all_attrs_item;
>  struct attr_stack;
> -struct index_state;
>  
>  /*
>   * Given a string, return the gitattribute object that



[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