From: Lubomir Rintel Date: Thu, 7 Nov 2019 10:41:28 +0000 (+0100) Subject: git2spec: include contents of binaries in patches X-Git-Tag: 050~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80238086abb0722a444ee65789f76f0909d38848;p=thirdparty%2Fdracut.git 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. --- diff --git a/git2spec.pl b/git2spec.pl index 9ddc38051..8d4f3bcff 100755 --- a/git2spec.pl +++ b/git2spec.pl @@ -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 () { if (/^From [a-z0-9]{40} .*$/) {