From: Ian Jackson Date: Mon, 7 Nov 2016 02:55:22 +0000 (+0000) Subject: dgit: Print a debug message if clone removes due to error X-Git-Tag: archive/debian/2.10~26 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=f283022faa83ee21d5441aafd9c9f11be1aee6fe dgit: Print a debug message if clone removes due to error Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index 9a28d81d..a95629f5 100755 --- a/dgit +++ b/dgit @@ -3868,6 +3868,7 @@ sub cmd_clone { return if $!==&ENOENT; die "chdir $cwd_remove: $!"; } + printdebug "clone rmonerror removing $dstdir\n"; if (stat $dstdir) { rmtree($dstdir) or die "remove $dstdir: $!\n"; } elsif (grep { $! == $_ }