From: Ian Jackson Date: Sun, 9 Oct 2016 10:56:36 +0000 (+0100) Subject: Don't break if user has push.followTags=true. Closes:#827878. X-Git-Tag: archive/debian/2.0~51 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=86c633c36acd0e386f5190cadf7ae0a2abd4ef5a Don't break if user has push.followTags=true. Closes:#827878. Signed-off-by: Ian Jackson --- diff --git a/debian/changelog b/debian/changelog index 3d210d03..54583cff 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 150c1153..a96f4711 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');