]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1866] added an empty .gitignore to keep the effectively-empty directory.
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 29 Jan 2013 04:34:05 +0000 (20:34 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 29 Jan 2013 04:55:06 +0000 (20:55 -0800)
src/lib/dns/gen-rdatacode.py.in
src/lib/dns/rdata/none_254/.gitignore [new file with mode: 0644]

index 0a0629565b46c054021e249c6ef6ef074a1c738e..e71469c45fefc75d6ea1fd8fe5aacddb804f2c3b 100755 (executable)
@@ -181,7 +181,9 @@ def import_definitions(classcode2txt, typecode2txt, typeandclass):
             # also apply to files.
             filelist = os.listdir(classdir)
             filelist.sort()
-            if len(filelist) == 0: # if there's no known types treat it as meta
+            if len(filelist) == 0:
+                # if there's no known types treat it as meta.  Note that
+                # listdir() (seemingly) ignores .gitignore.
                 meta_classes[class_txt] = class_code
                 continue
             for file in filelist:
diff --git a/src/lib/dns/rdata/none_254/.gitignore b/src/lib/dns/rdata/none_254/.gitignore
new file mode 100644 (file)
index 0000000..8a0934d
--- /dev/null
@@ -0,0 +1 @@
+# This file is here only for making the directory effectively empty.