Skip to contentSkip to conversation

commit.h: drop redundant comment

PATCH New Jeff King 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore

Jeff King

author
#0 lore raw

PATCH 1/1 commit.h: drop redundant comment

We mention twice that the from_ident field of struct pretty_print_context is internal.

The first comment was added by 10f2fbf, which prepares the struct for internal fields, and then the second by a908047, which actually adds such a field. This was a mistake made when re-rolling the series on the list; the comment should have been removed from the latter commit.

---
Not that important, really. I only bothered tracking down the source of the error because I was curious if it was a mis-merge or something. But nope, just me screwing up, and missing it in review.

 commit.h | 2 --
 1 file changed, 2 deletions(-)
commit.h +0 -2
index 35cc4e2..d912a9d 100644
@@ -102,8 +102,6 @@ struct pretty_print_context {
 	 * Fields below here are manipulated internally by pp_* functions and
 	 * should not be counted on by callers.
 	 */
-
-	/* Manipulated by the pp_* functions internally. */
 	struct string_list in_body_headers;
 };
 
Signature · 1 line
1.8.3.rc1.30.gff0fb75