diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-09 11:56:36 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-10 01:01:10 +0100 |
commit | 86c633c36acd0e386f5190cadf7ae0a2abd4ef5a (patch) | |
tree | 98aee99b9dbd3415d271b2285717f97bdac4a7b0 | |
parent | a94e7d03fb7ce841d3c07effc7988f3cb0ed1225 (diff) |
Don't break if user has push.followTags=true. Closes:#827878.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | dgit | 3 |
2 files changed, 3 insertions, 1 deletions
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 @@ -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'); |