chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68935a4
)
New import: Slightly better message in mktree_in_ud_from_only_subdir
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 28 Sep 2016 23:33:43 +0000
(
00:33
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 8 Oct 2016 14:55:27 +0000
(15:55 +0100)
This is going to be processing .dsc's tarballs directly, so we need
slightly better error reporting.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit
patch
|
blob
|
history
diff --git
a/dgit
b/dgit
index b1883614adfb61cb049d172302bd7ef254aa55e0..39231bbea6b0404b991d10e7594f27fc82210adc 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-1379,7
+1379,7
@@
sub mktree_in_ud_from_only_subdir (;$) {
# changes into the subdir
my (@dirs) = <*/.>;
- die "@dirs ?" unless @dirs==1;
+ die "
expected one subdir but found
@dirs ?" unless @dirs==1;
$dirs[0] =~ m#^([^/]+)/\.$# or die;
my $dir = $1;
changedir $dir;