Fix squashing for binary files
Rugged's `#to_patch` method doesn't generate a patch suitable for binary files. Instead, piping `git diff --binary` to `git apply` will do this and avoid allocating strings in Ruby, as an added bonus.
Showing
Please register or sign in to comment