X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit;h=f46e55a4e10969f0604f6b22a01aeebe836285e3;hp=1007d81698ee7a4d40a2ebce667131dbaddc9f2d;hb=c26f96c431c935b9cf8044fae9894bfdcadbbc97;hpb=0658281163715a24c940509ebb8b0a7493e33787 diff --git a/dgit b/dgit index 1007d816..f46e55a4 100755 --- a/dgit +++ b/dgit @@ -1259,7 +1259,7 @@ sub remove_stray_gits () { sub mktree_in_ud_from_only_subdir () { # changes into the subdir my (@dirs) = <*/.>; - die unless @dirs==1; + die "@dirs ?" unless @dirs==1; $dirs[0] =~ m#^([^/]+)/\.$# or die; my $dir = $1; changedir $dir;