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

[PATCH] object.h: Remove obsolete struct object_refs

From
JPJakob Pfender <jpfender@elegosoft.com>
Date
Mar 14, 2011, 16:23 UTC
Message-ID
<4D7E4118.6060802@elegosoft.com>
The struct object_refs in object.h is never used anywhere, so remove it.
Signed-off-by: Jakob Pfender <jpfender@elegosoft.com>
---
  object.h |    5 -----
  1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/object.h b/object.h
index 4d1d615..b6618d9 100644
--- a/object.h
+++ b/object.h
@@ -6,11 +6,6 @@ struct object_list {
  	struct object_list *next;
  };

-struct object_refs {
-	unsigned count;
-	struct object *ref[FLEX_ARRAY]; /* more */
-};
-
  struct object_array {
  	unsigned int nr;
  	unsigned int alloc;
-- 
1.7.0.4
Next: Michael J Gruber
Message 1 of 3 in “object.h: Remove obsolete struct object_refs”
  1. object.h: Remove obsolete struct object_refsJakob Pfender, Mar 14, 2011
  2. Michael J GruberMar 14, 2011
  3. Junio C HamanoMar 14, 2011

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.