]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
git2spec: include contents of binaries in patches
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 7 Nov 2019 10:41:28 +0000 (11:41 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 12 Nov 2019 12:27:59 +0000 (13:27 +0100)
The patches don't include the binary files, such as the iBFT table for testing,
which makes %autosetup sad.

git2spec.pl

index 9ddc380514a63417280a855b3936227f2164943a..8d4f3bcff43b7ea752ce642392e2d768a23590c3 100755 (executable)
@@ -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} .*$/) {