From 06a2e047d5fc1eebb96c9362984534287df76987 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 23 Oct 2016 19:15:30 +0100 Subject: [PATCH 1/1] .dsc and file handling: Add some debugging output No other change. Signed-off-by: Ian Jackson --- dgit | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dgit b/dgit index 426aef2e..0330552e 100755 --- a/dgit +++ b/dgit @@ -1828,10 +1828,15 @@ sub generate_commits_from_dsc () { my $f = $fi->{Filename}; die "$f ?" if $f =~ m#/|^\.|\.dsc$|\.tmp$#; + printdebug "considering linking $f: "; + link_ltarget "../../../$f", $f + or ((printdebug "($!) "), 0) or $!==&ENOENT or die "$f $!"; + printdebug "linked.\n"; + complete_file_from_dsc('.', $fi) or next; @@ -2210,6 +2215,7 @@ sub complete_file_from_dsc ($$) { if (stat_exists $tf) { progress "using existing $f"; } else { + printdebug "$tf does not exist, need to fetch\n"; my $furl = $dscurl; $furl =~ s{/[^/]+$}{}; $furl .= "/$f"; -- 2.30.2