We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0fde9 commit eb3a118Copy full SHA for eb3a118
builtin/survey.c
@@ -186,7 +186,8 @@ struct survey_report {
186
#define REPORT_TYPE_COMMIT 0
187
#define REPORT_TYPE_TREE 1
188
#define REPORT_TYPE_BLOB 2
189
-#define REPORT_TYPE_COUNT 3
+#define REPORT_TYPE_TAG 3
190
+#define REPORT_TYPE_COUNT 4
191
192
struct survey_context {
193
/* Options that control what is done. */
@@ -703,6 +704,10 @@ static void increment_object_totals(struct survey_context *ctx,
703
704
increment_totals(ctx, oids, &summary);
705
706
switch (type) {
707
+ case OBJ_TAG:
708
+ total = &ctx->report.by_type[REPORT_TYPE_TAG];
709
+ break;
710
+
711
case OBJ_COMMIT:
712
total = &ctx->report.by_type[REPORT_TYPE_COMMIT];
713
break;
0 commit comments