diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-04-10 14:34:44 +0200 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-04-13 18:25:43 +0200 |
commit | 4806f30a473ca70ffee3b10136f7ee8ea2b36f6f (patch) | |
tree | c91b9d41f117359793f94194aed4b954112e1f59 | |
parent | f7eb2ea83b2ba26032ad0f9d216dda8780165b95 (diff) | |
download | sparse-4806f30a473ca70ffee3b10136f7ee8ea2b36f6f.tar.gz |
.gitignore is a bit too greedy
The current .gitignore specifies that the generated programs
must be ignored. Good.
However, this is done by just specifying the name of the program
which has the effect of having any files or directories with the
same name to be ignored too. This is not intended.
Fix this using the pattern '/<name>' instead so that they match
in the root folder.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r-- | .gitignore | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -8,25 +8,25 @@ .*.swp # generated -version.h +/version.h # programs -c2xml -compile -ctags -example -graph -obfuscate -sparse -sparse-llvm -semind -test-dissect -test-inspect -test-lexing -test-linearize -test-parsing -test-show-type -test-unssa +/c2xml +/compile +/ctags +/example +/graph +/obfuscate +/semind +/sparse +/sparse-llvm +/test-dissect +/test-inspect +/test-lexing +/test-linearize +/test-parsing +/test-show-type +/test-unssa # tags tags |