wt-status: move strbuf into read_and_strip_branch()
[gitweb.git] / wt-status.h
index 81e1dcf84dbfbea76657d3b4c65e3e63890396e9..b8c351290384ca9e0c52e634ab902abbac861e6d 100644 (file)
@@ -79,8 +79,8 @@ struct wt_status_state {
        int rebase_interactive_in_progress;
        int cherry_pick_in_progress;
        int bisect_in_progress;
-       const char *branch;
-       const char *onto;
+       char *branch;
+       char *onto;
 };
 
 void wt_status_prepare(struct wt_status *s);