status: differentiate interactive from non-interactive rebases
[gitweb.git] / wt-status.c
index 9e0559c0c8c361ee12056ef183c83f095dea2eea..d2c5c7d41a0c7831cd2885601b3289b43a00b629 100644 (file)
@@ -1327,7 +1327,10 @@ void wt_status_print(struct wt_status *s)
                else if (!strcmp(branch_name, "HEAD")) {
                        branch_status_color = color(WT_STATUS_NOBRANCH, s);
                        if (state.rebase_in_progress || state.rebase_interactive_in_progress) {
-                               on_what = _("rebase in progress; onto ");
+                               if (state.rebase_interactive_in_progress)
+                                       on_what = _("interactive rebase in progress; onto ");
+                               else
+                                       on_what = _("rebase in progress; onto ");
                                branch_name = state.onto;
                        } else if (state.detached_from) {
                                branch_name = state.detached_from;