Issue 2690: Download Patchfile for Binary is wrong.
Status:  New
Owner: ----
Reported by saly...@google.com, May 30, 2014
Affected Version: 2.9-rc1-751-g160584c

What steps will reproduce the problem?
1. Select a binary file review (eg: https://partner-android-review.googlesource.com/#/c/58530)
2. Select Download
3. Select zip Patch File

What is the expected output?

# git format-patch -N -k

. . .
Subject: flounder: update prebuilt kernel
. . .
diff --git a/Image.gz-dtb b/Image.gz-dtb
index 995ae73c68fa4ab8e311da78b0f9e334922bb73e..73a25d848012a5d8952e6ce11ab18048b6e09ab9 100644
GIT binary patch
literal 6944789
zcmV)aK&rnViwFP!000021MFLEbQ5QGzB3~mVVodj89U%alEFZfkHZ?<*hz{<vP04&
zJxzpmOOrio$uiU%_X9&Vg*aJ{9YdSYvt?X$lhP!XZJ=0xN)tPa=<ZrT$~K4nK_DW#
z?b#sXWOoyjESN71!Klxj8G#LCv-#H_o^#$ans@Gd-}`;<d&jmBIY_^(^mQ(;|4*9u
. . .

What do you see instead?

Subject: [PATCH] flounder: Update sensor hub firmware 1.0.8.13.0.1 Main change: 1. Support exception handler and warning message.

Change-Id: I44056d0685806901aeb23ea61b0a64b1df328697
---

diff --git a/sensor_hub.img b/sensor_hub.img
index 8896138..c32373b 100755
--- a/sensor_hub.img
+++ b/sensor_hub.img
Binary files differ


Expected output:

[PATCH] reference does not belong in title
binary difference should be able to be supplied to 'git am -3 -k'