Skip to content

Conversation

@FloFaber
Copy link

Comment on lines +214 to +225
CommandResult
handle_findadd(Client &client, Request args, Response &)
{
return handle_match_add(client, args, false, false);
}

CommandResult
handle_searchadd(Client &client, Request args, Response &)
{
auto strip_diacritics = client.StringNormalizationEnabled(SN_STRIP_DIACRITICS);
return handle_match_add(client, args, true, strip_diacritics);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't move code around that you did not modify and that's not the target of your patch. That increases the diff size and is confusing.

@MaxKellermann
Copy link
Member

Documentation is missing - see doc/protocol.rst

@MaxKellermann
Copy link
Member

Please amend the patch to not move code around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants