]> git.ipfire.org Git - thirdparty/git.git/blobdiff - wt-status.h
git-init.txt: move description section up
[thirdparty/git.git] / wt-status.h
index 20b17cf4393b8f9acce93320fb97998ad7cd609b..cec482a56e8ec5b780a938037bdea7432bb93475 100644 (file)
@@ -24,6 +24,13 @@ enum untracked_status_type {
        SHOW_ALL_UNTRACKED_FILES
 };
 
+/* from where does this commit originate */
+enum commit_whence {
+       FROM_COMMIT,     /* normal */
+       FROM_MERGE,      /* commit came from merge */
+       FROM_CHERRY_PICK /* commit came from cherry-pick */
+};
+
 struct wt_status_change_data {
        int worktree_status;
        int index_status;
@@ -40,7 +47,7 @@ struct wt_status {
        const char **pathspec;
        int verbose;
        int amend;
-       int in_merge;
+       enum commit_whence whence;
        int nowarn;
        int use_color;
        int relative_paths;