summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-09 11:56:36 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-10 01:01:10 +0100
commit86c633c36acd0e386f5190cadf7ae0a2abd4ef5a (patch)
tree98aee99b9dbd3415d271b2285717f97bdac4a7b0 /dgit
parenta94e7d03fb7ce841d3c07effc7988f3cb0ed1225 (diff)
Don't break if user has push.followTags=true. Closes:#827878.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit3
1 files changed, 2 insertions, 1 deletions
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');