ref-filter: rename the 'strip' option to 'lstrip'
[gitweb.git] / builtin / tag.c
index 73df728114e81ac87dd1b84604947d739d948fb6..b4789cec4569a07a9497e5b39f0646763ec89122 100644 (file)
@@ -45,11 +45,11 @@ static int list_tags(struct ref_filter *filter, struct ref_sorting *sorting, con
        if (!format) {
                if (filter->lines) {
                        to_free = xstrfmt("%s %%(contents:lines=%d)",
-                                         "%(align:15)%(refname:strip=2)%(end)",
+                                         "%(align:15)%(refname:lstrip=2)%(end)",
                                          filter->lines);
                        format = to_free;
                } else
-                       format = "%(refname:strip=2)";
+                       format = "%(refname:lstrip=2)";
        }
 
        verify_ref_format(format);