]> git.ipfire.org Git - thirdparty/git.git/blobdiff - wt-status.h
Documentation: typofix --column description
[thirdparty/git.git] / wt-status.h
index f1fa0ec1a750a92967c35cafe2fdb25a32873d5a..0d32799b28e19af1a274acc5bd975dcf6dc3b44d 100644 (file)
@@ -77,8 +77,6 @@ enum wt_status_format {
        STATUS_FORMAT_UNSPECIFIED
 };
 
-#define HEAD_DETACHED_AT _("HEAD detached at ")
-#define HEAD_DETACHED_FROM _("HEAD detached from ")
 #define SPARSE_CHECKOUT_DISABLED -1
 
 struct wt_status_state {
@@ -151,7 +149,14 @@ void wt_status_add_cut_line(FILE *fp);
 void wt_status_prepare(struct repository *r, struct wt_status *s);
 void wt_status_print(struct wt_status *s);
 void wt_status_collect(struct wt_status *s);
+/*
+ * Frees the buffers allocated by wt_status_collect.
+ */
 void wt_status_collect_free_buffers(struct wt_status *s);
+/*
+ * Frees the buffers of the wt_status_state.
+ */
+void wt_status_state_free_buffers(struct wt_status_state *s);
 void wt_status_get_state(struct repository *repo,
                         struct wt_status_state *state,
                         int get_detached_from);