X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=Debian%2FDgit.pm;fp=Debian%2FDgit.pm;h=a5030df78c86b1cc0e562454040505accc4a7079;hp=2004fe1e835c847e9521de3a45cfbc5ab16557d1;hb=0ec19976d94b346161712a3e4de284fca015fa11;hpb=cdd64eaaa7f13d737b52909c75a208f221488056 diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index 2004fe1e..a5030df7 100644 --- a/Debian/Dgit.pm +++ b/Debian/Dgit.pm @@ -889,7 +889,7 @@ sub reflog_cache_insert ($$$) { # When we no longer need to support squeeze, use --create-reflog # instead of this: my $parent = $ref; $parent =~ s{/[^/]+$}{}; - ensuredir "$maindir_gitcommon/logs/$parent"; + ensurepath "$maindir_gitcommon/logs", "$parent"; my $makelogfh = new IO::File "$maindir_gitcommon/logs/$ref", '>>' or confess "$!";