summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-08-08 10:22:18 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-08-11 00:09:27 +0100
commit95e855e90d3180fffb41ee4671aa496299945239 (patch)
treecc9b3a1a86b2a249a42731784f379ac5f2b1951c /dgit
parent6c25cc5f35274bb410a9ef246d9baa95074a435f (diff)
dgit: Slightly more debugging for check_for_git with http[s]
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit4
1 files changed, 3 insertions, 1 deletions
diff --git a/dgit b/dgit
index 6401524..d24c4e6 100755
--- a/dgit
+++ b/dgit
@@ -1792,7 +1792,9 @@ sub check_for_git () {
CurlOpts => { CURLOPT_NOBODY() => 1 },
Ok404 => 1,
AccessBase => 'git-check';
- return defined $result;
+ $result = defined $result;
+ printdebug "dgit-repos check_for_git => $result.\n";
+ return $result;
} elsif ($how eq 'true') {
return 1;
} elsif ($how eq 'false') {