Control: tags -1 + patch
Mattia Rizzolo writes ("Bug#910687: dgit: crash with perl backtrace"):
> Package: dgit
> Version: 7.0
> Severity: important
Sorry about this.
I think this diff will fix it. You can apply it directly with patch
to dgit in your /usr/bin if you like.
I will make a release with the fix RSN.
Regards,
Ian.
diff --git a/dgit b/dgit
index 4cc56845..19b9eb2c 100755
--- a/dgit
+++ b/dgit
@@ -379,6 +379,10 @@ sub branch_is_gdr ($) {
printdebug "branch_is_gdr $walk ?-octopus NO\n";
return 0;
}
+ if (!@parents) {
+ printdebug "branch_is_gdr $walk origin\n";
+ return 0;
+ }
if ($get_patches->($walk) ne $tip_patches) {
# Our parent added, removed, or edited patches, and wasn't
# a gdr make-patches commit. gdr make-patches probably