issue270_incremental_diff

Please extract this to one method in server.rb (you are replicating code).