chiark / gitweb /
gitattributes: dgit: setup-gitattributes: New action
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 15 Jan 2017 22:45:09 +0000 (22:45 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 16 Jan 2017 01:16:03 +0000 (01:16 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index db8d1f7..be11a49 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -6307,6 +6307,11 @@ sub cmd_setup_useremail {
     setup_useremail(1);
 }
 
+sub cmd_setup_gitattributes {
+    badusage "no arguments allowed to dgit setup-useremail" if @ARGV;
+    setup_gitattrs(1);
+}
+
 sub cmd_setup_new_tree {
     badusage "no arguments allowed to dgit setup-tree" if @ARGV;
     setup_new_tree();