git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Elia Pinto <gitter.spiros@gmail.com>
Date
Mar 14, 2022, 00:23 UTC
Message-ID
<20220314002327.243915-1-gitter.spiros@gmail.com>
struct index_state is declared more than once.
Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
---
 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
-- 
2.35.1
Next: Junio C Hamano
Message 1 of 4 in “attr.h: remove duplicate struct definition”
  1. 6/6 attr.h: remove duplicate struct definitionElia Pinto, Mar 14, 2022
  2. Junio C HamanoMar 14, 2022
  3. Elia PintoMar 14, 2022
  4. Junio C HamanoMar 14, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.