Using rebase for the patches has become a failing-hunk
authorWayne Davison <wayned@samba.org>
Thu, 7 Feb 2008 00:39:53 +0000 (16:39 -0800)
committerWayne Davison <wayned@samba.org>
Thu, 7 Feb 2008 00:39:53 +0000 (16:39 -0800)
pain in the neck, so I'm switching to using merge.

support/patch-update

index a76f111..dcfeb6f 100755 (executable)
@@ -138,8 +138,8 @@ sub update_patch
     open(OUT, '>', "$patches_dir/$patch.diff") or die $!;
     print OUT $description{$patch}, "\n";
 
     open(OUT, '>', "$patches_dir/$patch.diff") or die $!;
     print OUT $description{$patch}, "\n";
 
-    if (system("git rebase -m $parent") != 0) {
-       print qq|"git rebase -m $parent" incomplete -- please fix.\n|;
+    if (system("git merge $parent") != 0) {
+       print qq|"git merge $parent" incomplete -- please fix.\n|;
        $ENV{PS1} = "[$parent] patch/$patch: ";
        system $ENV{SHELL} and exit 1;
     }
        $ENV{PS1} = "[$parent] patch/$patch: ";
        system $ENV{SHELL} and exit 1;
     }