]> git.ipfire.org Git - thirdparty/git.git/blobdiff - wt-status.h
status: collect per-file data for --porcelain=v2
[thirdparty/git.git] / wt-status.h
index 9389076f6944cc035a0f8bf4ae9664deaf88a18c..43fd3fccf6bf7a0474391cded58f4f776d3b8ad8 100644 (file)
@@ -38,6 +38,9 @@ struct wt_status_change_data {
        int worktree_status;
        int index_status;
        int stagemask;
+       int score;
+       int mode_head, mode_index, mode_worktree;
+       struct object_id oid_head, oid_index;
        char *head_path;
        unsigned dirty_submodule       : 2;
        unsigned new_submodule_commits : 1;
@@ -48,6 +51,7 @@ enum wt_status_format {
        STATUS_FORMAT_LONG,
        STATUS_FORMAT_SHORT,
        STATUS_FORMAT_PORCELAIN,
+       STATUS_FORMAT_PORCELAIN_V2,
 
        STATUS_FORMAT_UNSPECIFIED
 };