diff mercurial/cext/dirs.c @ 47539:84391ddf4c78

dirstate-item: rename the class to DirstateItem The object is no longer a tuple, so it seems clearer to rename it (and its associated method) Differential Revision: https://phab.mercurial-scm.org/D10982
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 04 Jul 2021 22:27:29 +0200
parents a47ccdcce4f9
children e02f9af7aed1
line wrap: on
line diff
--- a/mercurial/cext/dirs.c	Sun Jul 04 02:37:38 2021 +0200
+++ b/mercurial/cext/dirs.c	Sun Jul 04 22:27:29 2021 +0200
@@ -177,7 +177,7 @@
 				                "expected a dirstate tuple");
 				return -1;
 			}
-			if (((dirstateTupleObject *)value)->state == skipchar)
+			if (((dirstateItemObject *)value)->state == skipchar)
 				continue;
 		}