{"thread":{"id":"26727","subject":"[PATCH] object.h: Remove obsolete struct object_refs","startedAt":"2011-03-14T16:23:52Z","lastAt":"2011-03-14T17:48:41Z","messageCount":3,"participants":["Jakob Pfender","Michael J Gruber","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"163316","messageId":"4D7E4118.6060802@elegosoft.com","threadId":"26727","inReplyTo":null,"subject":"[PATCH] object.h: Remove obsolete struct object_refs","fromName":"Jakob Pfender","fromEmail":"jpfender@elegosoft.com","sentAt":"2011-03-14T16:23:52Z","receivedAt":"2011-03-14T16:23:52Z","isPatch":true,"sender":{"key":"jpfender@elegosoft.com","avatar":null},"body":"The struct object_refs in object.h is never used anywhere, so remove it.\n\nSigned-off-by: Jakob Pfender <jpfender@elegosoft.com>\n---\n  object.h |    5 -----\n  1 files changed, 0 insertions(+), 5 deletions(-)\n\ndiff --git a/object.h b/object.h\nindex 4d1d615..b6618d9 100644\n--- a/object.h\n+++ b/object.h\n@@ -6,11 +6,6 @@ struct object_list {\n  \tstruct object_list *next;\n  };\n\n-struct object_refs {\n-\tunsigned count;\n-\tstruct object *ref[FLEX_ARRAY]; /* more */\n-};\n-\n  struct object_array {\n  \tunsigned int nr;\n  \tunsigned int alloc;\n-- \n1.7.0.4\n"},{"id":"163319","messageId":"4D7E4A45.3060703@drmicha.warpmail.net","threadId":"26727","inReplyTo":"4D7E4118.6060802@elegosoft.com","subject":"Re: [PATCH] object.h: Remove obsolete struct object_refs","fromName":"Michael J Gruber","fromEmail":"git@drmicha.warpmail.net","sentAt":"2011-03-14T17:03:01Z","receivedAt":"2011-03-14T17:03:01Z","isPatch":true,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"Jakob Pfender venit, vidit, dixit 14.03.2011 17:23:\n> The struct object_refs in object.h is never used anywhere, so remove it.\n> \n\nMaybe you could add the information that it is unused since\n\n7914053 (Remove unused object-ref code, 2008-02-25)\n\nThat saves everyone else a pickaxe :)\n\nMichael\n"},{"id":"163322","messageId":"7voc5degp2.fsf@alter.siamese.dyndns.org","threadId":"26727","inReplyTo":"4D7E4118.6060802@elegosoft.com","subject":"Re: [PATCH] object.h: Remove obsolete struct object_refs","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-03-14T17:48:41Z","receivedAt":"2011-03-14T17:48:41Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jakob Pfender <jpfender@elegosoft.com> writes:\n\n> The struct object_refs in object.h is never used anywhere, so remove it.\n>\n> Signed-off-by: Jakob Pfender <jpfender@elegosoft.com>\n\nThanks; I'd rephrase the above like this (no need to resend):\n\n\t7914053 (Remove unused object-ref code, 2008-02-25) removed\n        all uses of the structure from the code, but forgot to remove\n        the type definition itself.\n\nThanks.\n\n\n\n\t\n"}]}