Thread (60 messages) read the whole thread 60 messages, 4 authors, 2021-03-09

Re: [PATCH v3 04/10] Move computation of dir_rename_count from merge-ort to diffcore-rename

From: Derrick Stolee <hidden>
Date: 2021-02-26 15:56:57

On 2/25/2021 8:58 PM, Elijah Newren via GitGitGadget wrote:
+	for (i = 0; i < rename_dst_nr; ++i) {
+		/* File not part of directory rename counts if not a rename */
+		if (!rename_dst[i].is_rename)
+			continue;
+
...
-		/* File not part of directory rename if it wasn't renamed */
-		if (pair->status != 'R')
-			continue;
-
Thanks for updating to include this check!

-Stolee
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help