Github user rnewson commented on a diff in the pull request:
https://github.com/apache/couchdb-couch/pull/157#discussion_r57858347
--- Diff: src/couch_db_updater.erl ---
@@ -294,6 +294,10 @@ handle_info({update_docs, Client, GroupedDocs,
NonRepDocs, MergeConflicts,
couch_event:notify(Db2#db.name, updated);
true -> ok
end,
+ case NonRepDocs2 of
--- End diff --
can we write this in the style of the previous notification? It's slightly
shorter but, more importantly, it's consistent with the surrounding coding
style.
if NonRepDocs2 /= [] ->
couch_event:notify(...
true -> ok
end,
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---