diff options
author | Chris Parsons <chris@edendevelopment.co.uk> | 2008-05-22 08:50:02 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-22 23:51:22 -0700 |
commit | 950ce2e22db4a3c1ff9ad598b46ccb22c517a336 (patch) | |
tree | 049fd11a2346c2ec1c20ce0787f8eaf6b97dce44 /wt-status.h | |
parent | f9189cf8f2427b10a40b5b3e530e2c893bc64ae9 (diff) | |
download | git-950ce2e22db4a3c1ff9ad598b46ccb22c517a336.tar.gz |
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>
Diffstat (limited to 'wt-status.h')
-rw-r--r-- | wt-status.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |