Karthik Nayak <karthik.188@xxxxxxxxx> writes: > + if (filter->lines) > + format = to_free = xstrfmt("%%(align:15,left)%%(refname:short)%%(end) %%(contents:lines=%d)", > + filter->lines); > + else > + format = "%(refname:short)"; > + > + verify_ref_format(format); > + filter_refs(&array, filter, FILTER_REFS_TAGS); > + ref_array_sort(sorting, &array); > + > + for (i = 0; i < array.nr; i++) > + show_ref_array_item(array.items[i], format, 0); Nice :-). (I'd cut the string argument to xstrfmt after "%(end)" to avoid long line) -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- 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