chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Infra: in dgit-repos-server, produce less verbose message when policy hook rejects
[dgit.git]
/
dgit
diff --git
a/dgit
b/dgit
index 009319a56996cc48a705d29251728d61b480dfbd..8db03b3f5ee8737b55a50b1c8c585c66c0ea1ec0 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-531,7
+531,7
@@
sub cfg {
my @cmd = (@git, qw(config --), $c);
my $v;
{
my @cmd = (@git, qw(config --), $c);
my $v;
{
- local ($debuglevel) = $debuglevel-
1
;
+ local ($debuglevel) = $debuglevel-
2
;
$v = cmdoutput_errok @cmd;
};
if ($?==0) {
$v = cmdoutput_errok @cmd;
};
if ($?==0) {
@@
-2697,6
+2697,7
@@
sub cmd_archive_api_query {
badusage "need only 1 subpath argument" unless @ARGV==1;
my ($subpath) = @ARGV;
my @cmd = archive_api_query_cmd($subpath);
badusage "need only 1 subpath argument" unless @ARGV==1;
my ($subpath) = @ARGV;
my @cmd = archive_api_query_cmd($subpath);
+ debugcmd ">",@cmd;
exec @cmd or fail "exec curl: $!\n";
}
exec @cmd or fail "exec curl: $!\n";
}