chiark / gitweb /
dgit: mkdir .git/info in setup_gitattrs
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 40b8e32aba4a6378f742381076d1812b239c45f1..743e8694af12817854c2d4ed45503d6f4ce1c972 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -3380,6 +3380,7 @@ END
        return;
     }
     my $af = ".git/info/attributes";
+    ensuredir '.git/info';
     open GAO, "> $af.new" or die $!;
     print GAO <<END or die $!;
 *      dgit-defuse-attrs