diff --git a/wt-status.c b/wt-status.c
index f14022f2a9b8ce740067f7c6bf03bd51203cf2ca..0b060934e218f1d6fb95777ea7dd7faef1c2dd93 100644 (file)
--- a/wt-status.c
+++ b/wt-status.c
{
const char *c = color(WT_STATUS_HEADER);
color_fprintf_ln(s->fp, c, "# Changes to be committed:");
- if (s->reference) {
+ if (!s->is_initial) {
color_fprintf_ln(s->fp, c, "# (use \"git reset %s <file>...\" to unstage)", s->reference);
} else {
color_fprintf_ln(s->fp, c, "# (use \"git rm --cached <file>...\" to unstage)");