chiark / gitweb /
dgit: Slightly more debugging for check_for_git with http[s]
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 8 Aug 2019 09:22:18 +0000 (10:22 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 10 Aug 2019 23:09:27 +0000 (00:09 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index 6401524ed90dee03c18914a330c99c17fa02b36a..d24c4e64eb08c2bc08076b85550c458e3be2553b 100755 (executable)
--- 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') {