summaryrefslogtreecommitdiff
path: root/merge-ort.h
diff options
context:
space:
mode:
Diffstat (limited to 'merge-ort.h')
-rw-r--r--merge-ort.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/merge-ort.h b/merge-ort.h
index 74adccad16..55ae7ee865 100644
--- a/merge-ort.h
+++ b/merge-ort.h
@@ -7,7 +7,14 @@ struct commit;
struct tree;
struct merge_result {
- /* Whether the merge is clean */
+ /*
+ * Whether the merge is clean; possible values:
+ * 1: clean
+ * 0: not clean (merge conflicts)
+ * <0: operation aborted prematurely. (object database
+ * unreadable, disk full, etc.) Worktree may be left in an
+ * inconsistent state if operation failed near the end.
+ */
int clean;
/*