diff --git a/wt-status.h b/wt-status.h
index 595c5fa137a2cf245af1c584c9326be458239c8a..682b4c8f7da2c58f741a958f6488a48fd7b483b4 100644 (file)
--- a/wt-status.h
+++ b/wt-status.h
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;
const char **pathspec;
int verbose;
int amend;
- int in_merge;
+ enum commit_whence whence;
int nowarn;
int use_color;
int relative_paths;