mirror of
https://github.com/git/git.git
synced 2026-03-18 04:30:09 +01:00
Merge branch 'aa/status-hilite-branch' into next
* aa/status-hilite-branch: status: show branchname with a configurable color
This commit is contained in:
@@ -1011,6 +1011,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;
|
||||
|
||||
Reference in New Issue
Block a user