Skip to content

Commit

Permalink
Look in queued commits first
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Feb 29, 2024
1 parent d3b7f5a commit 318adaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion createdatabase.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 318adaf

Please sign in to comment.