repos: Publish Diff after committing transaction
Created by: tsenart
Not doing so made gitserver sometimes access the database before the transaction was committed. This fixes that race.
@sourcegraph/distribution we want this and another follow up PR in the patch release.