From 318adaf77d887ad3056071c7539aec966e4e1b2e Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Thu, 29 Feb 2024 09:54:26 -0500 Subject: [PATCH] Look in queued commits first --- createdatabase.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createdatabase.PL b/createdatabase.PL index ed4b76fb..51243c4e 100755 --- a/createdatabase.PL +++ b/createdatabase.PL @@ -3595,7 +3595,7 @@ sub create_md5 $rc = substr Digest::MD5::md5_base64($digest), 0, 16; } # FIXME: prefixing the rc with the NUMBER field could reduce the changes of clashes, perhaps - if($global_md5s{$rc} || $state_md5s{$rc} || $queued_commits{$rc}) { + if($queued_commits{$rc} || $global_md5s{$rc} || $state_md5s{$rc}) { warn "Potential clash $digest => $rc" if(DEBUG&DEBUG_MD5); return undef; }