git2spec: include contents of binaries in patches

The patches don't include the binary files, such as the iBFT table for testing,
which makes %autosetup sad.
master
Lubomir Rintel 2019-11-07 11:41:28 +01:00 committed by Harald Hoyer
parent 50057af19c
commit 80238086ab
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ sub create_patches {

mkdir $pdir, 0755;

open( GIT, 'git log -p --pretty=email --stat -m --first-parent --reverse '.$tag.'..HEAD |');
open( GIT, 'git log -p --pretty=email --stat -m --first-parent --reverse --binary '.$tag.'..HEAD |');

while (<GIT>) {
if (/^From [a-z0-9]{40} .*$/) {