summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorLibravatar Matthieu Moy <Matthieu.Moy@imag.fr>2013-04-02 16:20:22 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-02 14:22:56 -0700
commit87e139c0ad32b72ad989fe7d69381f1146250f7a (patch)
treef83a437db7c9a0eb73a50326e184cecd7a5fd344 /wt-status.h
parentstatus: show 'revert' state and status hint (diff)
downloadtgif-87e139c0ad32b72ad989fe7d69381f1146250f7a.tar.xz
status: show commit sha1 in "You are currently reverting" message
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> 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 35cd6cb669..4121bc208d 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -85,6 +85,7 @@ struct wt_status_state {
char *onto;
char *detached_from;
unsigned char detached_sha1[20];
+ unsigned char revert_head_sha1[20];
};
void wt_status_prepare(struct wt_status *s);