From 95e855e90d3180fffb41ee4671aa496299945239 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 8 Aug 2019 10:22:18 +0100 Subject: [PATCH] dgit: Slightly more debugging for check_for_git with http[s] Signed-off-by: Ian Jackson --- dgit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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') { -- 2.30.2