chiark / gitweb /
Don't break if user has push.followTags=true. Closes:#827878.
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 150c11539a46bee1a46c32d256a33a99061bdcf4..a96f4711bb0d8c5fd7f3072bd3138b8b5733b489 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -3221,7 +3221,8 @@ END
        push @pushrefs, $forceflag."refs/tags/$tw->{Tag}";
     }
 
-    runcmd_ordryrun @git, qw(push),access_giturl(), @pushrefs;
+    runcmd_ordryrun @git,
+       qw(-c push.followTags=false push), access_giturl(), @pushrefs;
     runcmd_ordryrun @git, qw(update-ref -m), 'dgit push', lrref(), $dgithead;
 
     supplementary_message(<<'END');