git-status always says what branch it's on
[gitweb.git] / wt-status.c
index c388ce12934545344d794b7372527c4ee6f901e0..cface6ca88666d5e1de116110cb52eea4d91a5f1 100644 (file)
@@ -271,7 +271,7 @@ static void wt_status_print_verbose(struct wt_status *s)
 
 void wt_status_print(struct wt_status *s)
 {
-       if (s->branch && strcmp(s->branch, "refs/heads/master"))
+       if (s->branch)
                color_printf_ln(color(WT_STATUS_HEADER),
                        "# On branch %s", s->branch);