Browse Source

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 5 years ago committed by Harald Hoyer
parent
commit
80238086ab
  1. 2
      git2spec.pl

2
git2spec.pl

@ -10,7 +10,7 @@ sub create_patches { @@ -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} .*$/) {

Loading…
Cancel
Save