From 3ccafb596f61913dd78d6eada7518458b743a870 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 22 Dec 2017 15:05:44 -0800 Subject: [PATCH] tools: refine gitignore, stop ignoring hledger-web js dir --- .gitignore | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 80d0b5197..c7711acc2 100644 --- a/.gitignore +++ b/.gitignore @@ -12,12 +12,19 @@ _* tags TAGS -# temp files +# Tricksy rules ignoring some typical temp files. +# For troubleshooting: git check-ignore --verbose PATHS... +# 1- or 2-character filenames, maybe with an extension; but not directories [a-z0-9] [a-z0-9].* [a-z0-9][a-z0-9] [a-z0-9][a-z0-9].* -[0-9]* +![a-z0-9]/ +![a-z0-9].*/ +![a-z0-9][a-z0-9]/ +![a-z0-9][a-z0-9].*/ +# files/directories beginning with a number +/[0-9]* # haskell stuff *.dyn_hi