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 <chris@edendevelopment.co.uk> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
f9189cf8f2
commit
950ce2e22d
@ -8,6 +8,7 @@ enum color_wt_status {
|
||||
WT_STATUS_UPDATED,
|
||||
WT_STATUS_CHANGED,
|
||||
WT_STATUS_UNTRACKED,
|
||||
WT_STATUS_NOBRANCH,
|
||||
};
|
||||
|
||||
struct wt_status {
|
||||
|
Reference in New Issue
Block a user