From: Ian Jackson Date: Thu, 8 Aug 2019 09:22:18 +0000 (+0100) Subject: dgit: Slightly more debugging for check_for_git with http[s] X-Git-Tag: archive/debian/9.7~23 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=95e855e90d3180fffb41ee4671aa496299945239;p=dgit.git dgit: Slightly more debugging for check_for_git with http[s] Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index 6401524e..d24c4e64 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') {