Skip to content

Commit 1c7873c

Browse files
newrengitster
authored andcommitted
merge-ort: add a path_conflict field to merge_options_internal
This field is not yet used, but will be used by both the rename handling code, and the conflict type handling code in process_entry(). Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 101bc5b commit 1c7873c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

merge-ort.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,13 @@ struct conflict_info {
165165
/* Whether this path is/was involved in a directory/file conflict */
166166
unsigned df_conflict:1;
167167

168+
/*
169+
* Whether this path is/was involved in a non-content conflict other
170+
* than a directory/file conflict (e.g. rename/rename, rename/delete,
171+
* file location based on possible directory rename).
172+
*/
173+
unsigned path_conflict:1;
174+
168175
/*
169176
* For filemask and dirmask, the ith bit corresponds to whether the
170177
* ith entry is a file (filemask) or a directory (dirmask). Thus,

0 commit comments

Comments
 (0)