status: show branchname with a configurable color
[gitweb.git] / builtin / commit.c
index 4fd1a1692f867e54eddd406d505e584ee0451cf8..025c342e5e870b11da488f9183059442c6664ad6 100644 (file)
@@ -984,6 +984,8 @@ static int parse_status_slot(const char *var, int offset)
 {
        if (!strcasecmp(var+offset, "header"))
                return WT_STATUS_HEADER;
+       if (!strcasecmp(var+offset, "branch"))
+               return WT_STATUS_ONBRANCH;
        if (!strcasecmp(var+offset, "updated")
                || !strcasecmp(var+offset, "added"))
                return WT_STATUS_UPDATED;