summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorChris Parsons <chris@edendevelopment.co.uk>2008-05-22 08:50:02 -0400
committerJunio C Hamano <gitster@pobox.com>2008-05-22 23:51:22 -0700
commit950ce2e22db4a3c1ff9ad598b46ccb22c517a336 (patch)
tree049fd11a2346c2ec1c20ce0787f8eaf6b97dce44 /wt-status.h
parentf9189cf8f2427b10a40b5b3e530e2c893bc64ae9 (diff)
downloadgit-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.h1
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 {