summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d088ef8)
Nothing passes this argument, so no functional change.
This will make forthcoming changes more obviously correct.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
our $ud = '.git/dgit/unpack';
our $ud = '.git/dgit/unpack';
-sub prep_ud (;$) {
- my ($d) = @_;
- $d //= $ud;
+sub prep_ud () {
+ my $d = $ud;
rmtree($d);
mkpath '.git/dgit';
mkdir $d or die $!;
rmtree($d);
mkpath '.git/dgit';
mkdir $d or die $!;