Sverre Rabbelier <srabbelier@xxxxxxxxx> writes: > +static void handle_tags_and_duplicates(struct rev_info *revs, struct string_list *extra_refs) > { > int i; > > + /* even if no commits were exported, we need to export the ref */ > + for (i = 0; i < revs->cmdline.nr; i++) { > + struct rev_cmdline_entry *elem = &revs->cmdline.rev[i]; > + > + if (elem->flags & UNINTERESTING) > + continue; > + > + if (elem->whence != REV_CMD_REV && elem->whence != REV_CMD_RIGHT) > + continue; > + > + char *full_name; > + dwim_ref(elem->name, strlen(elem->name), elem->item->sha1, &full_name); Just a nit I've already fixed locally (iow no need to resend only to fix this) but this is decl-after-stmt. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html