chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dgit: Print a debug message if clone removes due to error
[dgit.git]
/
dgit
diff --git
a/dgit
b/dgit
index 9a28d81d75387edfcef84207c680817367ea0b2a..a95629f52605f4246cdf39abde2012a9b5ea290b 100755
(executable)
--- 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 { $! == $_ }