From 950ce2e22db4a3c1ff9ad598b46ccb22c517a336 Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Thu, 22 May 2008 08:50:02 -0400 Subject: Updated status to show 'Not currently on any branch' in red This provides additional warning to users when attempting to commit to a detached HEAD. It is configurable in color.status.nobranch. Signed-off-by: Chris Parsons Acked-by: Jeff King Signed-off-by: Junio C Hamano --- wt-status.h | 1 + 1 file changed, 1 insertion(+) (limited to 'wt-status.h') diff --git a/wt-status.h b/wt-status.h index 7d61410b17..f0675fdff3 100644 --- a/wt-status.h +++ b/wt-status.h @@ -8,6 +8,7 @@ enum color_wt_status { WT_STATUS_UPDATED, WT_STATUS_CHANGED, WT_STATUS_UNTRACKED, + WT_STATUS_NOBRANCH, }; struct wt_status { -- cgit v1.2.3