avoid repeating diffs

Change-Id: Idbc71545b3fea5513e61a20caf444dae097b2105
Reviewed-on: http://review.couchbase.org/33821
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>