Allow custom 'diff' values to be set

So we can link to multiple edits at once. This should not
change any existing behavior since 'prev' is used if nothing
is set.