chiark / gitweb /
test suite: gdr-fresh: Drop use of git-deborig and fix dependencies
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 2774f7e55819f0d05e4641a236471f61236dad55..396213475b9cc38ce8d8a63a44231ffe60e329b4 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -322,6 +322,11 @@ sub branch_is_gdr ($) {
     # We have our own implementation because:
     #  - our algorighm can do fewer tests so is faster
     #  - it saves testing to see if gdr is installed
+
+    # NB we use this jsut for deciding whether to run gdr make-patches
+    # Before reusing this algorithm for somthing else, its
+    # suitability should be reconsidered.
+
     my $walk = $head;
     local $Debian::Dgit::debugcmd_when_debuglevel = 3;
     printdebug "branch_is_gdr $head...\n";
@@ -335,8 +340,8 @@ sub branch_is_gdr ($) {
        my $cdata = git_cat_file $walk, 'commit';
        my ($hdrs,$msg) = $cdata =~ m{\n\n} ? ($`,$') : ($cdata,'');
        if ($msg =~ m{^\[git-debrebase\ (
-                         anchor | pseudomerge | changelog | 
-                         make-patches | merged-breakwater
+                         anchor | changelog | make-patches | 
+                         merged-breakwater | pseudomerge
                      ) [: ] }mx) {
            # no need to analyse this - it's sufficient
            # (gdr classifications: Anchor, MergedBreakwaters)