summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-03-10 17:43:57 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-07-08 22:37:27 +0100
commit97f49a475f82fa7526767cec5dad23669f3b394d (patch)
tree167d41204a2eda0476ab4378218209ce7af66515 /dgit
parent8d75cd0a442a76bec017fa5c0481be003fe7f81f (diff)
dgit: mkdir .git/info in setup_gitattrs
This might be necessary if setup_mergechangelogs were disabled. (This is something of a latent bug, since `git init' creates .git/info.) Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit1
1 files changed, 1 insertions, 0 deletions
diff --git a/dgit b/dgit
index 40b8e32..743e869 100755
--- 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