X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit;h=1aea272c413a246eaad93ae1672dee4a3253254e;hb=6342c9fba5962066bb4606c6d930fe5bc3441851;hp=f314bdaa05af30ca9814c0adbe850726ed23444d;hpb=f7d222ee9782806cd05d7a82595c142096c3bd04;p=dgit.git diff --git a/dgit b/dgit index f314bdaa..1aea272c 100755 --- a/dgit +++ b/dgit @@ -2,7 +2,7 @@ # dgit # Integration between git and Debian-style archives # -# Copyright (C)2013 Ian Jackson +# Copyright (C)2013-2015 Ian Jackson # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -713,7 +713,7 @@ sub archive_api_query_cmd ($) { fail "for $url: stat $key: $!" unless $!==ENOENT; next; } - push @cmd, "--ca-certificate=$key", "--ca-directory=/dev/enoent"; + push @cmd, "--cacert", $key, "--capath", "/dev/enoent"; last; } } @@ -1693,7 +1693,7 @@ sub dopush ($) { create_remote_git_repo(); } runcmd_ordryrun @git, qw(push),access_giturl(), - $forceflag."HEAD:".rrref(), "refs/tags/$tag"; + $forceflag."HEAD:".rrref(), $forceflag."refs/tags/$tag"; runcmd_ordryrun @git, qw(update-ref -m), 'dgit push', lrref(), 'HEAD'; if ($we_are_responder) {