cmer/git-p4-sync — pull request #5 by DannoHung (2012-05-16 19:11:10+00:00)
Title: Update show to only display one line summary

Since only the one line diff summary is used, we don't
need the entirety of the output from show. This resolves
issues where binary data can cause ruby to choke.

I was having an issue with this when submitting some binary files to perforce. This line was causing "invalid byte sequence in UTF-8" to be thrown by Ruby. As a side benefit, this makes the "show" a bit faster if the last commit was large.

I accidentally typed "perforce" in the diff entry. You might want to change that before merging the patch.