diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-09 01:37:46 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-09 13:08:32 +0000 |
commit | 468edf05661effb0ef4f4dd1efb2df5a61434259 (patch) | |
tree | c40a5de7fcbe9c93ad80492c3acfe6004358158f | |
parent | 7a90399d56b947280d1e396bba6d7f28f7f3ed73 (diff) |
dgit: clone-dgit-repos-server: Set $access_forpush
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | dgit | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index cca9feb..5d37f96 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,8 @@ dgit (3.0~) unstable; urgency=medium suite and distro more reliably and consistently. * Parsing of extended Dgit fields by import-dsc was broken; and is now fixed even for more-extended ones. + * dgit clone-dgit-repos-server uses readonly access. + Closes:#850521. Minor new feature: * distro alias facility in config space. (Primarily for testing.) @@ -6156,6 +6156,7 @@ sub cmd_clone_dgit_repos_server { badusage "need destination argument" unless @ARGV==1; my ($destdir) = @ARGV; $package = '_dgit-repos-server'; + local $access_forpush = 0; my @cmd = (@git, qw(clone), access_giturl(), $destdir); debugcmd ">",@cmd; exec @cmd or fail "exec git clone: $!\n"; |