From: JINMEI Tatuya Date: Tue, 29 Jan 2013 04:34:05 +0000 (-0800) Subject: [1866] added an empty .gitignore to keep the effectively-empty directory. X-Git-Tag: bind10-1.0.0-rc-release~27^2~8^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f575d8fc0316d69b2ea54788b43948488dface2e;p=thirdparty%2Fkea.git [1866] added an empty .gitignore to keep the effectively-empty directory. --- diff --git a/src/lib/dns/gen-rdatacode.py.in b/src/lib/dns/gen-rdatacode.py.in index 0a0629565b..e71469c45f 100755 --- a/src/lib/dns/gen-rdatacode.py.in +++ b/src/lib/dns/gen-rdatacode.py.in @@ -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 index 0000000000..8a0934dc2d --- /dev/null +++ b/src/lib/dns/rdata/none_254/.gitignore @@ -0,0 +1 @@ +# This file is here only for making the directory effectively empty.