From 86c633c36acd0e386f5190cadf7ae0a2abd4ef5a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 9 Oct 2016 11:56:36 +0100 Subject: Don't break if user has push.followTags=true. Closes:#827878. Signed-off-by: Ian Jackson --- debian/changelog | 1 + dgit | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 3d210d0..54583cf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -76,6 +76,7 @@ dgit (1.5~~) unstable; urgency=medium of .orig components the same way as their tarballs. * Tidy up refs/dgit-fetch/ after dgit fetch (if successful). * Fix handling of in-archive copies. + * Don't break if user has push.followTags=true. Closes:#827878. Test suite: * When sbuild fails, do not crash due to sed not finding the log diff --git a/dgit b/dgit index 150c115..a96f471 100755 --- 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'); -- cgit v1.2.3