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:
7031bce
)
dgit: changedir: use confess, to get a stack trace
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 18 Sep 2016 11:34:45 +0000
(12:34 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 18 Sep 2016 12:27:59 +0000
(13:27 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit
patch
|
blob
|
history
diff --git
a/dgit
b/dgit
index a25c74c18bf87a25205da4cfa6562e7e4a234205..a78e2fbc6d7e3ecc0011b397335dda90fcfc2b44 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-222,7
+222,7
@@
sub no_such_package () {
sub changedir ($) {
my ($newdir) = @_;
printdebug "CD $newdir\n";
sub changedir ($) {
my ($newdir) = @_;
printdebug "CD $newdir\n";
- chdir $newdir or
die
"chdir: $newdir: $!";
+ chdir $newdir or
confess
"chdir: $newdir: $!";
}
sub deliberately ($) {
}
sub deliberately ($) {