Add patience algorithm to git diff